共用方式為


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

適用於