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

TimeRangeCollection..::..Contains Method

Gets a value indicating whether the [TimeRangeCollection] contains the specified [TimeRange].

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

Syntax


public bool Contains(
	TimeRange val
)
Public Function Contains ( _
	val As TimeRange _
) As Boolean
public:
bool^ Contains(
	TimeRange^ val
)

Parameters

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

Return Value

trueTruetruetrue (True in Visual Basic) if the [TimeRange] is contained in the collection; otherwise, falseFalsefalsefalse (False in Visual Basic).