StorageFolder.IsOfType(StorageItemTypes) 方法

定義

指出目前的 StorageFolder 是否符合指定的 StorageItemTypes 值。

public:
 virtual bool IsOfType(StorageItemTypes type) = IsOfType;
bool IsOfType(StorageItemTypes const& type);
public bool IsOfType(StorageItemTypes type);
function isOfType(type)
Public Function IsOfType (type As StorageItemTypes) As Boolean

參數

type
StorageItemTypes

列舉值,決定要比對的物件類型。

傳回

Boolean

bool

如果 StorageFolder 符合指定的 StorageItemTypes 值,則為 True;否則為 false。

實作

適用於