IVsSettingsStore.GetUnsignedInt64OrDefault Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a 64-bit unsigned long integer property of a given default value.
public:
int GetUnsignedInt64OrDefault(System::String ^ collectionPath, System::String ^ propertyName, System::UInt64 defaultValue, [Runtime::InteropServices::Out] System::UInt64 % value);
int GetUnsignedInt64OrDefault(std::wstring const & collectionPath, std::wstring const & propertyName, unsigned long defaultValue, [Runtime::InteropServices::Out] unsigned long & value);
public int GetUnsignedInt64OrDefault (string collectionPath, string propertyName, ulong defaultValue, out ulong value);
abstract member GetUnsignedInt64OrDefault : string * string * uint64 * uint64 -> int
Public Function GetUnsignedInt64OrDefault (collectionPath As String, propertyName As String, defaultValue As ULong, ByRef value As ULong) As Integer
Parameters
- collectionPath
- String
[in] The path of the collection.
- propertyName
- String
[in] The property name.
- defaultValue
- UInt64
[in] The default value to return if the property is not set.
- value
- UInt64
[out] The value.
Returns
Returns S_OK if the property was returned, S_FALSE if the property does not exist or E_INVALIDARG if the property type is not an unsigned long integer.
Remarks
This method is safe to access from any thread.