Partager via


IVsWritableSettingsStore.GetInt64(String, String, Int64) Method

Definition

Returns a 64-bit integer type property value.

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

Parameters

collectionPath
String

[in] The path of the collection.

propertyName
String

[in] The property name.

value
Int64

[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 a 64-bit integer.

Implements

Remarks

This method is safe to access from any thread.

Applies to