Compartilhar via


VSPIAImporterClass.GetMainWrapperFriendlyName(TLIBATTR[], String) Method

Definition

Gets the name that is displayed in the project system when the component is referred to.

public:
 virtual int GetMainWrapperFriendlyName(cli::array <Microsoft::VisualStudio::OLE::Interop::TLIBATTR> ^ pTypeLibToWrap, [Runtime::InteropServices::Out] System::String ^ % pbstrFilename) = Microsoft::VisualStudio::Shell::Interop::IVsTypeLibraryWrapper::GetMainWrapperFriendlyName;
public:
 virtual int GetMainWrapperFriendlyName(cli::array <Microsoft::VisualStudio::OLE::Interop::TLIBATTR> ^ pTypeLibToWrap, [Runtime::InteropServices::Out] System::String ^ % pbstrFilename);
 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

Parameters

pTypeLibToWrap
TLIBATTR[]

[in] Pointer to a type lib to be wrapped.

pbstrFilename
String

[out] Pointer to a string containing the friendly file name.

Returns

Returns S_OK if the method is successful, E_FAIL if the method fails.

Implements

Applies to