VSPIAImporterClass.GetMainWrapperFriendlyName Method
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)
Syntax
'Declaration
Public Overridable Function GetMainWrapperFriendlyName ( _
pTypeLibToWrap As TLIBATTR(), _
<OutAttribute> ByRef pbstrFilename As String _
) As Integer
public virtual int GetMainWrapperFriendlyName(
TLIBATTR[] pTypeLibToWrap,
out string pbstrFilename
)
public:
virtual int GetMainWrapperFriendlyName(
[InAttribute] array<TLIBATTR>^ pTypeLibToWrap,
[OutAttribute] String^% pbstrFilename
)
abstract GetMainWrapperFriendlyName :
pTypeLibToWrap:TLIBATTR[] *
pbstrFilename:string byref -> int
override GetMainWrapperFriendlyName :
pTypeLibToWrap:TLIBATTR[] *
pbstrFilename:string byref -> int
public function GetMainWrapperFriendlyName(
pTypeLibToWrap : TLIBATTR[],
pbstrFilename : String
) : int
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
Implements
IVsTypeLibraryWrapper.GetMainWrapperFriendlyName(array<TLIBATTR[], String%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.