次の方法で共有


SyntaxFactory.SimpleImportsClause Method

Definition

Overloads

SimpleImportsClause(ImportAliasClauseSyntax, NameSyntax)

Represents the clause of an Imports statement that imports all members of a type or namespace or aliases a type or namespace.

SimpleImportsClause(NameSyntax)

Represents the clause of an Imports statement that imports all members of a type or namespace or aliases a type or namespace.

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

Represents the clause of an Imports statement that imports all members of a type or namespace or aliases a type or namespace.

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

Parameters

alias
ImportAliasClauseSyntax

An optional alias for the namespace or type being imported.

name
NameSyntax

The namespace or type being imported.

Returns

Applies to

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

Represents the clause of an Imports statement that imports all members of a type or namespace or aliases a type or namespace.

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

Parameters

name
NameSyntax

The namespace or type being imported.

Returns

Applies to