IVsUIDataSource.GetValue(String, IVsUIObject) 方法

定义

返回属性的值。

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 *  -> int
Public Function GetValue (prop As String, ByRef ppValue As IVsUIObject) As Integer

参数

prop
String

中要返回的属性的名称。

ppValue
IVsUIObject

弄用于返回指向属性值接口的指针的位置。

返回

Int32

如果返回值,则返回 S_OK。

适用于