IVsUIDataSource.QueryValue(String, String[], UInt32[], Object[]) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回属性的类型、格式和值。
int QueryValue(std::wstring const & prop, std::Array <std::wstring const &> const & pTypeName, std::Array <unsigned int> const & pDataFormat, std::Array <winrt::Windows::Foundation::IInspectable const &> const & pValue);
public int QueryValue (string prop, string[] pTypeName, uint[] pDataFormat, object[] pValue);
abstract member QueryValue : string * string[] * uint32[] * obj[] -> int
Public Function QueryValue (prop As String, Optional pTypeName As String(), Optional pDataFormat As UInteger(), Optional pValue As Object()) As Integer
参数
- prop
- String
中属性的名称
- pTypeName
- String[]
弄要返回类型名称的位置
- pDataFormat
- UInt32[]
弄格式返回的位置
- pValue
- Object[]
弄用于返回指向属性值接口的指针的位置。
返回
如果返回了信息,则返回 S_OK。