Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- prop
Type: System.String
[in] The name of the property
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.