OpenTypeMethods.TypeIs(Object, ResourceType) Method

Definition

Checks the type of a specified value.

public:
 static System::Object ^ TypeIs(System::Object ^ value, System::Data::Services::Providers::ResourceType ^ type);
public static object TypeIs (object value, System.Data.Services.Providers.ResourceType type);
static member TypeIs : obj * System.Data.Services.Providers.ResourceType -> obj
Public Shared Function TypeIs (value As Object, type As ResourceType) As Object

Parameters

value
Object

The value to check.

type
ResourceType

Resource type for which to check.

Returns

true if the value is of the specified resource type; otherwise, false.

Applies to