IVsUIDataConverter.get_ConvertibleFormats Method

Returns the formats that can be converted by this convertor.

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 get_ConvertibleFormats ( _
    <OutAttribute> ByRef pdwDataFormatFrom As UInteger, _
    <OutAttribute> ByRef pdwDataFormatTo As UInteger _
) As Integer
int get_ConvertibleFormats(
    out uint pdwDataFormatFrom,
    out uint pdwDataFormatTo
)
int get_ConvertibleFormats(
    [OutAttribute] unsigned int% pdwDataFormatFrom, 
    [OutAttribute] unsigned int% pdwDataFormatTo
)
abstract get_ConvertibleFormats : 
        pdwDataFormatFrom:uint32 byref * 
        pdwDataFormatTo:uint32 byref -> int
function get_ConvertibleFormats(
    pdwDataFormatFrom : uint, 
    pdwDataFormatTo : uint
) : int

Parameters

  • pdwDataFormatFrom
    Type: UInt32%

    [out] Location to return a pointer to an array of data formats that this convertor can take as inputs.

  • pdwDataFormatTo
    Type: UInt32%

    [out] Location to return a pointer to an array of data formats that this convertor can output.

Return Value

Type: Int32
Returns S_OK if the format information was returned.

Remarks

The arrays are paired so that a given index gives an input format and an output format. The convertor only converts between paired formats.

.NET Framework Security

See Also

Reference

IVsUIDataConverter Interface

Microsoft.VisualStudio.Shell.Interop Namespace