VSPIAImporterClass::GetMainWrapperFilename Method (array<TLIBATTR>^, String^)

 

Gets the filename for a given type library.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

public:
virtual int GetMainWrapperFilename(
	array<TLIBATTR>^ pTypeLibToWrap,
	[OutAttribute] String^% pbstrFilename
)

Parameters

pTypeLibToWrap
Type: array<Microsoft.VisualStudio.OLE.Interop::TLIBATTR>^

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

pbstrFilename
Type: System::String^

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

Return Value

Type: System::Int32

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

Return to top
Show: