Freigeben über


IVsUIDataSource.QueryValue Method

Returns the type, format and value of a property.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  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

  • prop
    Type: String

    [in] The name of the property

  • pTypeName
    Type: array<String[]

    [out] Location to return the type name

  • pDataFormat
    Type: array<UInt32[]

    [out] Location to return the format

  • pValue
    Type: array<Object[]

    [out] Location to return a pointer to the interface for the property value.

Return Value

Type: Int32
Returns S_OK if the information was returned.

.NET Framework Security

See Also

Reference

IVsUIDataSource Interface

Microsoft.VisualStudio.Shell.Interop Namespace