共用方式為


IVsStringMap.GetValue(String, String) Method

Definition

Returns the value for a named key.

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

Parameters

szKey
String

[in] The key.

pbstrValue
String

[out] The value.

Returns

Returns S_OK if the value was returned.

Applies to