Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Adds an assembly that is currently in the global assembly cache (GAC).
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaration
Function InsertReference ( _
ByRef __MIDL_0010 As UShort _
) As Integer
'Usage
Dim instance As IVsContainedLanguageHost
Dim __MIDL_0010 As UShort
Dim returnValue As Integer
returnValue = instance.InsertReference(__MIDL_0010)
int InsertReference(
ref ushort __MIDL_0010
)
int InsertReference(
[InAttribute] unsigned short% __MIDL_0010
)
abstract InsertReference :
__MIDL_0010:uint16 byref -> int
function InsertReference(
__MIDL_0010 : ushort
) : int
Parameters
- __MIDL_0010
Type: System.UInt16%
Return Value
Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.
Remarks
COM Signature
From singlefileeditor.idl:
HRESULT InsertReference(
[in]const WCHAR *pwcReferenceP
);
An example of the string defining the System assembly:
"system,version=1.0.0.1,culture=neutral,publickeytoken=9b35aa32c8d4fb1"
.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.
See Also
Reference
IVsContainedLanguageHost Interface