RemoteSettings.PropertyExists(String, String) 方法

定义

确定属性是否存在。

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

远程设置的密钥

返回

Boolean

如果该属性存在,则为 True; 否则为 false。

实现

适用于