AddImportCodeGenerator(String, Int32) Constructor
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.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the AddImportCodeGenerator class.
public AddImportCodeGenerator (string ns, int namespaceKeywordLength);
new System.Web.Razor.Generator.AddImportCodeGenerator : string * int -> System.Web.Razor.Generator.AddImportCodeGenerator
Public Sub New (ns As String, namespaceKeywordLength As Integer)
Parameters
- ns
- String
The string namespace.
- namespaceKeywordLength
- Int32
The length of the keyword namespace.