Partager via


SettingsStore.PropertyExists(String, String) Method

Definition

Checks the existance of the property passed in to this method.

public:
 abstract bool PropertyExists(System::String ^ collectionPath, System::String ^ propertyName);
public:
 abstract bool PropertyExists(Platform::String ^ collectionPath, Platform::String ^ propertyName);
 abstract bool PropertyExists(std::wstring const & collectionPath, std::wstring const & propertyName);
public abstract bool PropertyExists (string collectionPath, string propertyName);
abstract member PropertyExists : string * string -> bool
Public MustOverride Function PropertyExists (collectionPath As String, propertyName As String) As Boolean

Parameters

collectionPath
String

Path of the collection of the property.

propertyName
String

Name of the property.

Returns

Returns true if the property exists and false otherwise.

Remarks

This method is safe to access from any thread.

Applies to