Condividi tramite


IVsPropertyBag.GetValue(String) Method

Definition

Retrieves the value of a named property from the property bag.

public:
 System::Object ^ GetValue(System::String ^ szName);
public:
 Platform::Object ^ GetValue(Platform::String ^ szName);
winrt::Windows::Foundation::IInspectable GetValue(std::wstring const & szName);
public object GetValue (string szName);
abstract member GetValue : string -> obj
Public Function GetValue (szName As String) As Object

Parameters

szName
String

[in] Name of the property.

Returns

The value of the property. If the property is not in the bag, then E_INVALIDARG is returned.

Applies to