DataServiceProviderMethods.TypeIs Method
Determines if the value is of a specified type.
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 Boolean
'Usage
Dim value As Object
Dim type As ResourceType
Dim returnValue As Boolean
returnValue = DataServiceProviderMethods.TypeIs(value, _
type)
public static bool TypeIs(
Object value,
ResourceType type
)
public:
static bool TypeIs(
Object^ value,
ResourceType^ type
)
static member TypeIs :
value:Object *
type:ResourceType -> bool
public static function TypeIs(
value : Object,
type : ResourceType
) : boolean
Parameters
- value
Type: System.Object
The value to check.
- type
Type: System.Data.Services.Providers.ResourceType
ResourceType to compare with.
Return Value
Type: System.Boolean
True if the value is of the specified type; otherwise false.