SettingsStore.GetUInt64 Method

Definition

Overloads

GetUInt64(String, String)

Returns the value of the requested property whose data type is Int64.

GetUInt64(String, String, UInt64)

Returns the value of the requested property whose data type is Int64.

GetUInt64(String, String)

Returns the value of the requested property whose data type is Int64.

public:
 abstract System::UInt64 GetUInt64(System::String ^ collectionPath, System::String ^ propertyName);
public:
 abstract unsigned long long GetUInt64(Platform::String ^ collectionPath, Platform::String ^ propertyName);
 abstract unsigned long GetUInt64(std::wstring const & collectionPath, std::wstring const & propertyName);
public abstract ulong GetUInt64 (string collectionPath, string propertyName);
abstract member GetUInt64 : string * string -> uint64
Public MustOverride Function GetUInt64 (collectionPath As String, propertyName As String) As ULong

Parameters

collectionPath
String

Path of the collection of the property.

propertyName
String

Name of the property.

Returns

Value of the property. If the value was stored as an signed long previously then regular type conversion sematics applies.

Exceptions

Throws this exception if the property is of different type or if it does not exist.

Applies to

GetUInt64(String, String, UInt64)

Returns the value of the requested property whose data type is Int64.

public:
 abstract System::UInt64 GetUInt64(System::String ^ collectionPath, System::String ^ propertyName, System::UInt64 defaultValue);
public:
 abstract unsigned long long GetUInt64(Platform::String ^ collectionPath, Platform::String ^ propertyName, unsigned long long defaultValue);
 abstract unsigned long GetUInt64(std::wstring const & collectionPath, std::wstring const & propertyName, unsigned long defaultValue);
public abstract ulong GetUInt64 (string collectionPath, string propertyName, ulong defaultValue);
abstract member GetUInt64 : string * string * uint64 -> uint64
Public MustOverride Function GetUInt64 (collectionPath As String, propertyName As String, defaultValue As ULong) As ULong

Parameters

collectionPath
String

Path of the collection of the property.

propertyName
String

Name of the property.

defaultValue
UInt64

Value to be returned if the property does not exist.

Returns

If the property does not exist, it returns the defaultValue passed in. If the value was stored as an signed long previously then regular type conversion sematics applies.

Exceptions

Throws this exception if the property is of different type.

Applies to