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