Partilhar via


IVsUIDataSource.GetValue(String, IVsUIObject) Method

Definition

Returns the value of a property.

public:
 int GetValue(System::String ^ prop, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUIObject ^ % ppValue);
public:
 int GetValue(Platform::String ^ prop, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUIObject ^ &  ppValue);
int GetValue(std::wstring const & prop, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUIObject const & & ppValue);
public int GetValue (string prop, out Microsoft.VisualStudio.Shell.Interop.IVsUIObject ppValue);
abstract member GetValue : string * IVsUIObject -> int
Public Function GetValue (prop As String, ByRef ppValue As IVsUIObject) As Integer

Parameters

prop
String

[in] The name of the property to return.

ppValue
IVsUIObject

[out] Location to return a pointer to the interface for the property value.

Returns

Returns S_OK if the value was returned.

Applies to