SyntaxGenerator.InsertNamespaceImports 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
InsertNamespaceImports(SyntaxNode, Int32, SyntaxNode[]) |
使用插入的命名空间导入创建声明的新实例。 |
InsertNamespaceImports(SyntaxNode, Int32, IEnumerable<SyntaxNode>) |
使用插入的命名空间导入创建声明的新实例。 |
InsertNamespaceImports(SyntaxNode, Int32, SyntaxNode[])
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
使用插入的命名空间导入创建声明的新实例。
public:
Microsoft::CodeAnalysis::SyntaxNode ^ InsertNamespaceImports(Microsoft::CodeAnalysis::SyntaxNode ^ declaration, int index, ... cli::array <Microsoft::CodeAnalysis::SyntaxNode ^> ^ imports);
public Microsoft.CodeAnalysis.SyntaxNode InsertNamespaceImports (Microsoft.CodeAnalysis.SyntaxNode declaration, int index, params Microsoft.CodeAnalysis.SyntaxNode[] imports);
member this.InsertNamespaceImports : Microsoft.CodeAnalysis.SyntaxNode * int * Microsoft.CodeAnalysis.SyntaxNode[] -> Microsoft.CodeAnalysis.SyntaxNode
Public Function InsertNamespaceImports (declaration As SyntaxNode, index As Integer, ParamArray imports As SyntaxNode()) As SyntaxNode
参数
- declaration
- SyntaxNode
- index
- Int32
- imports
- SyntaxNode[]
返回
适用于
InsertNamespaceImports(SyntaxNode, Int32, IEnumerable<SyntaxNode>)
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
使用插入的命名空间导入创建声明的新实例。
public:
abstract Microsoft::CodeAnalysis::SyntaxNode ^ InsertNamespaceImports(Microsoft::CodeAnalysis::SyntaxNode ^ declaration, int index, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ imports);
public abstract Microsoft.CodeAnalysis.SyntaxNode InsertNamespaceImports (Microsoft.CodeAnalysis.SyntaxNode declaration, int index, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> imports);
abstract member InsertNamespaceImports : Microsoft.CodeAnalysis.SyntaxNode * int * seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function InsertNamespaceImports (declaration As SyntaxNode, index As Integer, imports As IEnumerable(Of SyntaxNode)) As SyntaxNode
参数
- declaration
- SyntaxNode
- index
- Int32
- imports
- IEnumerable<SyntaxNode>