SyntaxGenerator.AliasImportDeclaration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.