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
)

参数

  • pTypeName
    类型:array<System.String[]
    [out] 返回类型的位置名称
  • pDataFormat
    类型:array<System.UInt32[]
    [out] 返回格式的位置
  • pValue
    类型:array<System.Object[]
    [out] 返回指针的位置对属性值的接口。

返回值

类型:System.Int32
相关信息,则返回,则返回 S_OK。

.NET Framework 安全性

请参见

参考

IVsUIDataSource 接口

Microsoft.VisualStudio.Shell.Interop 命名空间