Udostępnij za pośrednictwem


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

Return Value

Type: System.Object
true if the value is of the specified resource type; otherwise, false.

See Also

Reference

OpenTypeMethods Class

System.Data.Services.Providers Namespace