SPCompatibilityRange.IsValid method
Checks whether a given compatibility level is valid in this range.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function IsValid ( _
CompatibilityLevel As Integer _
) As Boolean
'Usage
Dim instance As SPCompatibilityRange
Dim CompatibilityLevel As Integer
Dim returnValue As Boolean
returnValue = instance.IsValid(CompatibilityLevel)
public bool IsValid(
int CompatibilityLevel
)
Parameters
CompatibilityLevel
Type: System.Int32The compatibility level to evaluate.
Return value
Type: System.Boolean
true if the level is inside this range object, otherwise false.