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 与指定的值匹配;否则为 false。

适用于