IStorageItem.IsOfType(StorageItemTypes) 方法

定義

判斷目前的 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。

適用於