IVsWritableSettingsStore.GetInt(String, String, Int32) 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 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
This method is safe to access from any thread.