OpenTypeMethods.TypeIs(Object, ResourceType) 方法

定义

检查指定值的类型。

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

参数

value
Object

要检查的值。

type
ResourceType

要检查的资源类型。

返回

如果该值为指定的资源类型,则返回 true;否则,返回 false

适用于