Share via


StorageInfo.SubStorageExists(String) 方法

定义

返回一个值,该值表示指定的子存储区是否存在。

public:
 bool SubStorageExists(System::String ^ name);
public bool SubStorageExists (string name);
member this.SubStorageExists : string -> bool
Public Function SubStorageExists (name As String) As Boolean

参数

name
String

要检查的子存储区的 StorageInfo 名称。

返回

如果存在具有指定 name 的子存储区,则为 true;否则为 false

适用于

另请参阅