Compartir a través de


VSPIAImporterClass.GetMainWrapperFilename(TLIBATTR[], String) Method

Definition

Gets the filename for a given type library.

public:
 virtual int GetMainWrapperFilename(cli::array <Microsoft::VisualStudio::OLE::Interop::TLIBATTR> ^ pTypeLibToWrap, [Runtime::InteropServices::Out] System::String ^ % pbstrFilename) = Microsoft::VisualStudio::Shell::Interop::IVsTypeLibraryWrapper::GetMainWrapperFilename;
public:
 virtual int GetMainWrapperFilename(cli::array <Microsoft::VisualStudio::OLE::Interop::TLIBATTR> ^ pTypeLibToWrap, [Runtime::InteropServices::Out] System::String ^ % pbstrFilename);
 virtual int GetMainWrapperFilename(std::Array <Microsoft::VisualStudio::OLE::Interop::TLIBATTR> const & pTypeLibToWrap, [Runtime::InteropServices::Out] std::wstring const & & pbstrFilename);
public virtual int GetMainWrapperFilename (Microsoft.VisualStudio.OLE.Interop.TLIBATTR[] pTypeLibToWrap, out string pbstrFilename);
abstract member GetMainWrapperFilename : Microsoft.VisualStudio.OLE.Interop.TLIBATTR[] * string -> int
override this.GetMainWrapperFilename : Microsoft.VisualStudio.OLE.Interop.TLIBATTR[] * string -> int
Public Overridable Function GetMainWrapperFilename (pTypeLibToWrap As TLIBATTR(), ByRef pbstrFilename As String) As Integer

Parameters

pTypeLibToWrap
TLIBATTR[]

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

pbstrFilename
String

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

Returns

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

Implements

Applies to