IVsWritableSettingsStore::GetInt64OrDefault Method (String^, String^, Int64, Int64)
Visual Studio 2015
Returns a 64-bit integer value or a specified default value.
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
int GetInt64OrDefault( String^ collectionPath, String^ propertyName, long long defaultValue, [OutAttribute] long long% value )
Parameters
- collectionPath
-
Type:
System::String^
[in] The path of the collection.
- propertyName
-
Type:
System::String^
[in] The property name.
- defaultValue
-
Type:
System::Int64
[in] The default value to return if the property is not set.
- value
-
Type:
System::Int64
[out] The value.
Return Value
Type: System::Int32Returns S_OK if the property was returned, S_FALSE if the property does not exist or E_INVALIDARG if the property type is not a 64-bit integer.
If the property was stored as a signed value, then regular C++ type casting semantics are applied on the output value.
Show: