IStorageItem.IsOfType(StorageItemTypes) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷目前的 IStorageItem 是否符合指定的 StorageItemTypes 值。
public:
bool IsOfType(StorageItemTypes type);
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
如果 IStorageItem 符合指定的值,則為 True;否則為 false。