VSPIAImporterClass.GetMainWrapperFriendlyName(TLIBATTR[], String) 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.
Obtient le nom qui s'affiche dans le système de projet lorsque le composant est référencé.
public:
virtual int GetMainWrapperFriendlyName(cli::array <Microsoft::VisualStudio::OLE::Interop::TLIBATTR> ^ pTypeLibToWrap, [Runtime::InteropServices::Out] System::String ^ % pbstrFilename) = Microsoft::VisualStudio::Shell::Interop::IVsTypeLibraryWrapper::GetMainWrapperFriendlyName;
virtual int GetMainWrapperFriendlyName(std::Array <Microsoft::VisualStudio::OLE::Interop::TLIBATTR> const & pTypeLibToWrap, [Runtime::InteropServices::Out] std::wstring const & & pbstrFilename);
public virtual int GetMainWrapperFriendlyName (Microsoft.VisualStudio.OLE.Interop.TLIBATTR[] pTypeLibToWrap, out string pbstrFilename);
abstract member GetMainWrapperFriendlyName : Microsoft.VisualStudio.OLE.Interop.TLIBATTR[] * string -> int
override this.GetMainWrapperFriendlyName : Microsoft.VisualStudio.OLE.Interop.TLIBATTR[] * string -> int
Public Overridable Function GetMainWrapperFriendlyName (pTypeLibToWrap As TLIBATTR(), ByRef pbstrFilename As String) As Integer
Paramètres
- pTypeLibToWrap
- TLIBATTR[]
[in] Pointeur vers une bibliothèque de types à inclure.
- pbstrFilename
- String
[out] Pointeur vers une chaîne contenant le nom de fichier convivial.
Retours
Retourne S_OK si la méthode réussit, E_FAIL si la méthode échoue.