IVsUIDataSource.QueryValue 方法
返回属性的类型、布局和值。
命名空间: Microsoft.VisualStudio.Shell.Interop
程序集: Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)
Microsoft.VisualStudio.Shell.Interop.10.0(在 Microsoft.VisualStudio.Shell.Interop.10.0.dll 中)
语法
声明
Function QueryValue ( _
prop As String, _
<OutAttribute> pTypeName As String(), _
<OutAttribute> pDataFormat As UInteger(), _
<OutAttribute> pValue As Object() _
) As Integer
int QueryValue(
string prop,
string[] pTypeName,
uint[] pDataFormat,
Object[] pValue
)
参数
- prop
类型:System.String
[in] 属性的名称
- pTypeName
类型:array<System.String[]
[out] 返回类型的位置名称
- pDataFormat
类型:array<System.UInt32[]
[out] 返回格式的位置
- pValue
类型:array<System.Object[]
[out] 返回指针的位置对属性值的接口。
返回值
类型:System.Int32
相关信息,则返回,则返回 S_OK。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。