Share via


SyntaxGenerator.AliasImportDeclaration Method

Definition

Overloads

AliasImportDeclaration(String, INamespaceOrTypeSymbol)

Creates an alias import declaration.

AliasImportDeclaration(String, SyntaxNode)

Creates an alias import declaration.

AliasImportDeclaration(String, INamespaceOrTypeSymbol)

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

Creates an alias import declaration.

public:
 Microsoft::CodeAnalysis::SyntaxNode ^ AliasImportDeclaration(System::String ^ aliasIdentifierName, Microsoft::CodeAnalysis::INamespaceOrTypeSymbol ^ symbol);
public Microsoft.CodeAnalysis.SyntaxNode AliasImportDeclaration (string aliasIdentifierName, Microsoft.CodeAnalysis.INamespaceOrTypeSymbol symbol);
member this.AliasImportDeclaration : string * Microsoft.CodeAnalysis.INamespaceOrTypeSymbol -> Microsoft.CodeAnalysis.SyntaxNode
Public Function AliasImportDeclaration (aliasIdentifierName As String, symbol As INamespaceOrTypeSymbol) As SyntaxNode

Parameters

aliasIdentifierName
String

The name of the alias.

symbol
INamespaceOrTypeSymbol

The namespace or type to be aliased.

Returns

Applies to

AliasImportDeclaration(String, 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

Creates an alias import declaration.

public:
 abstract Microsoft::CodeAnalysis::SyntaxNode ^ AliasImportDeclaration(System::String ^ aliasIdentifierName, Microsoft::CodeAnalysis::SyntaxNode ^ name);
public abstract Microsoft.CodeAnalysis.SyntaxNode AliasImportDeclaration (string aliasIdentifierName, Microsoft.CodeAnalysis.SyntaxNode name);
abstract member AliasImportDeclaration : string * Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function AliasImportDeclaration (aliasIdentifierName As String, name As SyntaxNode) As SyntaxNode

Parameters

aliasIdentifierName
String

The name of the alias.

name
SyntaxNode

The namespace or type to be aliased.

Returns

Applies to