RemoteSettings.CollectionExists(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定集合是否存在。
public:
virtual bool CollectionExists(System::String ^ collectionPath);
public bool CollectionExists (string collectionPath);
abstract member CollectionExists : string -> bool
override this.CollectionExists : string -> bool
Public Function CollectionExists (collectionPath As String) As Boolean
参数
- collectionPath
- String
远程设置集合的路径,格式为 My\Custom\Path
返回
如果 colleciton 存在,则为 True; 否则为 false。