CAS.Lib.CodeProtect Namespace
CAS.Lib.CodeProtect.LicenseDsc Namespace
CAS.Lib.CodeProtect.LicenseDsc.Constraints Namespace
CAS.Lib.CodeProtect.Properties Namespace
OOI CodeProtect

TimeRangeCollection..::..Add Method

Adds a [TimeRange] with the specified value to the [TimeRangeCollection].

Namespace:  CAS.Lib.CodeProtect.LicenseDsc.Constraints
Assembly:  CAS.CodeProtect (in CAS.CodeProtect.dll)

Syntax


public int Add(
	TimeRange val
)
Public Function Add ( _
	val As TimeRange _
) As Integer
public:
int^ Add(
	TimeRange^ val
)

Parameters

val
Type: CAS.Lib.CodeProtect.LicenseDsc.Constraints..::..TimeRange
The [TimeRange] to add.

Return Value

The index at which the new element was inserted.