Share via


SettingsStore.TryGetString(String, String, String) Method

Definition

Gets the value of the requested property whose data type is String.

public virtual bool TryGetString (string collectionPath, string propertyName, out string value);
abstract member TryGetString : string * string * string -> bool
override this.TryGetString : string * string * string -> bool
Public Overridable Function TryGetString (collectionPath As String, propertyName As String, ByRef value As String) As Boolean

Parameters

collectionPath
String

Path of the collection of the property.

propertyName
String

Name of the property.

value
String

The retrieved value

Returns

True if successful

Remarks

This method is safe to access from any thread.

Applies to