IVsUIDataSource.QueryValue Method

Returns the type, format and value of a property.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
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
)
int QueryValue(
    [InAttribute] String^ prop, 
    [OutAttribute] array<String^>^ pTypeName, 
    [OutAttribute] array<unsigned int>^ pDataFormat, 
    [OutAttribute] array<Object^>^ pValue
)
abstract QueryValue : 
        prop:string * 
        pTypeName:string[] byref * 
        pDataFormat:uint32[] byref * 
        pValue:Object[] byref -> int 
function QueryValue(
    prop : String, 
    pTypeName : String[], 
    pDataFormat : uint[], 
    pValue : Object[]
) : int

Parameters

  • pTypeName
    Type: array<System.String[]
    [out] Location to return the type name
  • pDataFormat
    Type: array<System.UInt32[]
    [out] Location to return the format
  • pValue
    Type: array<System.Object[]
    [out] Location to return a pointer to the interface for the property value.

Return Value

Type: System.Int32
Returns S_OK if the information was returned.

.NET Framework Security

See Also

Reference

IVsUIDataSource Interface

Microsoft.VisualStudio.Shell.Interop Namespace