IVsTypeLibraryWrapper::GetMainWrapperFriendlyName Method (array<TLIBATTR>^, String^)
Visual Studio 2015
This API supports the product infrastructure and is not intended to be used directly from your code.
Gets the name that is displayed in the project system when the component is referred to.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
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::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From compsvcspkg.idl: [C++] HRESULT IVsTypeLibraryWrapper::GetMainWrapperFriendlyName( [in] TLIBATTR* pTypeLibToWrap, [out,retval] BSTR* pbstrFileName );
Show: