共用方式為


SyntaxGenerator.NamespaceImportDeclaration 方法

定義

多載

NamespaceImportDeclaration(SyntaxNode)

建立命名空間匯入宣告。

NamespaceImportDeclaration(String)

建立命名空間匯入宣告。

NamespaceImportDeclaration(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

建立命名空間匯入宣告。

public:
 abstract Microsoft::CodeAnalysis::SyntaxNode ^ NamespaceImportDeclaration(Microsoft::CodeAnalysis::SyntaxNode ^ name);
public abstract Microsoft.CodeAnalysis.SyntaxNode NamespaceImportDeclaration (Microsoft.CodeAnalysis.SyntaxNode name);
abstract member NamespaceImportDeclaration : Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function NamespaceImportDeclaration (name As SyntaxNode) As SyntaxNode

參數

name
SyntaxNode

要匯入之命名空間的名稱。

傳回

適用於

NamespaceImportDeclaration(String)

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 ^ NamespaceImportDeclaration(System::String ^ name);
public Microsoft.CodeAnalysis.SyntaxNode NamespaceImportDeclaration (string name);
member this.NamespaceImportDeclaration : string -> Microsoft.CodeAnalysis.SyntaxNode
Public Function NamespaceImportDeclaration (name As String) As SyntaxNode

參數

name
String

要匯入之命名空間的名稱。

傳回

適用於