GelDependencyObject.IVsUIDataSource.QueryValue Method
Microsoft internal use only.
Returns the type, format and value of a property.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Private Function QueryValue ( _
prop As String, _
pTypeName As String(), _
pDataFormat As UInteger(), _
pValue As Object() _
) As Integer Implements IVsUIDataSource.QueryValue
int IVsUIDataSource.QueryValue(
string prop,
string[] pTypeName,
uint[] pDataFormat,
Object[] pValue
)
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.
Implements
IVsUIDataSource.QueryValue(String, array<String[], array<UInt32[], array<Object[])
.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.