IVsContainedLanguageHost.InsertImportsDirective(UInt16) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts a markup tag that imports the specified namespace.
public:
int InsertImportsDirective(System::UInt16 % __MIDL_0011);
int InsertImportsDirective(unsigned short & __MIDL_0011);
public int InsertImportsDirective (ref ushort __MIDL_0011);
abstract member InsertImportsDirective : uint16 -> int
Public Function InsertImportsDirective (ByRef __MIDL_0011 As UShort) As Integer
Parameters
- __MIDL_0011
- UInt16
[in] A string specifying the fully qualified namespace to import.
Returns
If successful, returns S_OK; otherwise, returns an error code.
Remarks
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" %>