IVsWritableSettingsStore.GetInt(String, String, Int32) Method

Definition

Returns an integer type property value.

public:
 int GetInt(System::String ^ collectionPath, System::String ^ propertyName, [Runtime::InteropServices::Out] int % value);
int GetInt(std::wstring const & collectionPath, std::wstring const & propertyName, [Runtime::InteropServices::Out] int & value);
public int GetInt (string collectionPath, string propertyName, out int value);
abstract member GetInt : string * string * int -> int
Public Function GetInt (collectionPath As String, propertyName As String, ByRef value As Integer) As Integer

Parameters

collectionPath
String

[in] The path of the collection.

propertyName
String

[in] The property name.

value
Int32

[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 interger.

Implements

Remarks

If the property was stored as an unsigned value then regular C++ type casting semantics are applied on the output value.

Applies to