OpenTypeMethods.TypeIs Method
Checks the type of a specified value.
Namespace: System.Data.Services.Providers
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Shared Function TypeIs ( _
value As Object, _
type As ResourceType _
) As Object
'Usage
Dim value As Object
Dim type As ResourceType
Dim returnValue As Object
returnValue = OpenTypeMethods.TypeIs(value, _
type)
public static Object TypeIs(
Object value,
ResourceType type
)
public:
static Object^ TypeIs(
Object^ value,
ResourceType^ type
)
static member TypeIs :
value:Object *
type:ResourceType -> Object
public static function TypeIs(
value : Object,
type : ResourceType
) : Object
Parameters
- value
Type: System.Object
The value to check.
- type
Type: System.Data.Services.Providers.ResourceType
Resource type for which to check.
Return Value
Type: System.Object
true if the value is of the specified resource type; otherwise, false.