共用方式為


IVsWritableSettingsStore.GetUnsignedInt(String, String, UInt32) Method

Definition

Returns an unsigned integer property value.

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

Parameters

collectionPath
String

[in] The path of the collection.

propertyName
String

[in] The name of the property.

value
UInt32

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

Implements

Remarks

This method is safe to access from any thread.

Applies to