Edit

Share via


DataServiceProviderMethods.TypeIs(Object, ResourceType) Method

Definition

Determines if the value is of a specified type.

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

Parameters

value
Object

The value to check.

type
ResourceType

ResourceType to compare with.

Returns

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

Applies to