IVsUIDataSource.GetValue(String, IVsUIObject) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回属性的值。
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
弄用于返回指向属性值接口的指针的位置。
返回
如果返回值,则返回 S_OK。