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

实现

适用于