DataServiceProviderMethods.TypeIs Method (Object, ResourceType)

 

Determines if the value is of a specified type.

Namespace:   System.Data.Services.Providers
Assembly:  System.Data.Services (in System.Data.Services.dll)

public static bool TypeIs(
	object value,
	ResourceType type
)

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

A Boolean value that is true if the value is of the specified type; otherwise false.

.NET Framework
Available since 3.5
Return to top
Show: