IVsUIDataConverterManager.GetConverter(String, UInt32, UInt32, IVsUIDataConverter) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne un IVsUIDataConverter pour une conversion spécifiée.
public:
int GetConverter(System::String ^ TypeName, System::UInt32 dwDataFormatFrom, System::UInt32 dwDataFormatTo, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUIDataConverter ^ % ppConverter);
public:
int GetConverter(Platform::String ^ TypeName, unsigned int dwDataFormatFrom, unsigned int dwDataFormatTo, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUIDataConverter ^ & ppConverter);
int GetConverter(std::wstring const & TypeName, unsigned int dwDataFormatFrom, unsigned int dwDataFormatTo, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUIDataConverter const & & ppConverter);
public int GetConverter (string TypeName, uint dwDataFormatFrom, uint dwDataFormatTo, out Microsoft.VisualStudio.Shell.Interop.IVsUIDataConverter ppConverter);
abstract member GetConverter : string * uint32 * uint32 * -> int
Public Function GetConverter (TypeName As String, dwDataFormatFrom As UInteger, dwDataFormatTo As UInteger, ByRef ppConverter As IVsUIDataConverter) As Integer
Paramètres
- TypeName
- String
[in] Nom de la famille des types de données.
- dwDataFormatFrom
- UInt32
[in] Tableau de formats source.
- dwDataFormatTo
- UInt32
[in] Tableau de formats résultant.
- ppConverter
- IVsUIDataConverter
[out] Emplacement pour retourner un pointeur vers l'interface du convertisseur.
Retours
Retourne S_OK si le convertisseur est retourné.