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

 

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

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

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

Parameters

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

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

pbstrFilename
Type: System::String^

[out] Pointer to a string containing the friendly 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: