IVsUIDataConverter.Convert Method
Converts a data object.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Function Convert ( _
pObject As IVsUIObject, _
<OutAttribute> ByRef ppConvertedObject As IVsUIObject _
) As Integer
int Convert(
IVsUIObject pObject,
out IVsUIObject ppConvertedObject
)
int Convert(
[InAttribute] IVsUIObject^ pObject,
[OutAttribute] IVsUIObject^% ppConvertedObject
)
abstract Convert :
pObject:IVsUIObject *
ppConvertedObject:IVsUIObject byref -> int
function Convert(
pObject : IVsUIObject,
ppConvertedObject : IVsUIObject
) : int
Parameters
pObject
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIObject[in] The object to convert.
ppConvertedObject
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIObject%[out] Location to return a pointer to the converted object.
Return Value
Type: System.Int32
Returns S_OK if the data was converted.
.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.