共用方式為


FolderInformation.IsOfType(StorageItemTypes) 方法

定義

判斷載入的 StorageFolder 是否為指定的類型。

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 是指定的類型,則為 True;否則為 false。

實作

適用於