IVsUIDataConverterManager.GetConverter Method
Returns a IVsUIDataConverter for a specified conversion.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function GetConverter ( _
TypeName As String, _
dwDataFormatFrom As UInteger, _
dwDataFormatTo As UInteger, _
<OutAttribute> ByRef ppConverter As IVsUIDataConverter _
) As Integer
int GetConverter(
string TypeName,
uint dwDataFormatFrom,
uint dwDataFormatTo,
out IVsUIDataConverter ppConverter
)
int GetConverter(
[InAttribute] String^ TypeName,
[InAttribute] unsigned int dwDataFormatFrom,
[InAttribute] unsigned int dwDataFormatTo,
[OutAttribute] IVsUIDataConverter^% ppConverter
)
abstract GetConverter :
TypeName:string *
dwDataFormatFrom:uint32 *
dwDataFormatTo:uint32 *
ppConverter:IVsUIDataConverter byref -> int
function GetConverter(
TypeName : String,
dwDataFormatFrom : uint,
dwDataFormatTo : uint,
ppConverter : IVsUIDataConverter
) : int
Parameters
TypeName
Type: String[in] The name of the data type family.
dwDataFormatFrom
Type: UInt32[in] An array of source formats.
dwDataFormatTo
Type: UInt32[in] An array of resulting formats.
ppConverter
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIDataConverter%[out] Location to return a pointer to the convertor interface.
Return Value
Type: Int32
Returns S_OK if the convertor 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.