SyntaxFactory.SimpleImportsClause 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SimpleImportsClause(ImportAliasClauseSyntax, NameSyntax) |
表示 Imports 語句的 子句,該語句會匯入類型或命名空間或別名之類型或命名空間的所有成員。 |
SimpleImportsClause(NameSyntax) |
表示 Imports 語句的 子句,該語句會匯入類型或命名空間或別名之類型或命名空間的所有成員。 |
SimpleImportsClause(ImportAliasClauseSyntax, NameSyntax)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
表示 Imports 語句的 子句,該語句會匯入類型或命名空間或別名之類型或命名空間的所有成員。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::SimpleImportsClauseSyntax ^ SimpleImportsClause(Microsoft::CodeAnalysis::VisualBasic::Syntax::ImportAliasClauseSyntax ^ alias, Microsoft::CodeAnalysis::VisualBasic::Syntax::NameSyntax ^ name);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleImportsClauseSyntax SimpleImportsClause (Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportAliasClauseSyntax alias, Microsoft.CodeAnalysis.VisualBasic.Syntax.NameSyntax name);
static member SimpleImportsClause : Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportAliasClauseSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.NameSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleImportsClauseSyntax
Public Shared Function SimpleImportsClause (alias As ImportAliasClauseSyntax, name As NameSyntax) As SimpleImportsClauseSyntax
參數
- alias
- ImportAliasClauseSyntax
要匯入之命名空間或類型的選擇性別名。
- name
- NameSyntax
要匯入的命名空間或類型。
傳回
適用於
SimpleImportsClause(NameSyntax)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
表示 Imports 語句的 子句,該語句會匯入類型或命名空間或別名之類型或命名空間的所有成員。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::SimpleImportsClauseSyntax ^ SimpleImportsClause(Microsoft::CodeAnalysis::VisualBasic::Syntax::NameSyntax ^ name);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleImportsClauseSyntax SimpleImportsClause (Microsoft.CodeAnalysis.VisualBasic.Syntax.NameSyntax name);
static member SimpleImportsClause : Microsoft.CodeAnalysis.VisualBasic.Syntax.NameSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleImportsClauseSyntax
Public Shared Function SimpleImportsClause (name As NameSyntax) As SimpleImportsClauseSyntax
參數
- name
- NameSyntax
要匯入的命名空間或類型。