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.
Inserts a markup tag that imports the specified namespace.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaration
Function InsertImportsDirective ( _
ByRef __MIDL_0011 As UShort _
) As Integer
'Usage
Dim instance As IVsContainedLanguageHost
Dim __MIDL_0011 As UShort
Dim returnValue As Integer
returnValue = instance.InsertImportsDirective(__MIDL_0011)
int InsertImportsDirective(
ref ushort __MIDL_0011
)
int InsertImportsDirective(
[InAttribute] unsigned short% __MIDL_0011
)
abstract InsertImportsDirective :
__MIDL_0011:uint16 byref -> int
function InsertImportsDirective(
__MIDL_0011 : ushort
) : int
Parameters
- __MIDL_0011
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 InsertImportsDirective(
[in]const WCHAR * pwcImportP
);
If this method is given a namespace such as "System.Web.UI" and this method is implemented by an editor that uses ASP.NET, then the following markup is inserted:
<%@import namespace="System.Web.UI" %>
.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