Compartir a través de


SimpleImportsClauseSyntax.WithAlias(ImportAliasClauseSyntax) Method

Definition

Returns a copy of this with the [Alias] property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::SimpleImportsClauseSyntax ^ WithAlias(Microsoft::CodeAnalysis::VisualBasic::Syntax::ImportAliasClauseSyntax ^ alias);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleImportsClauseSyntax WithAlias (Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportAliasClauseSyntax alias);
member this.WithAlias : Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportAliasClauseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleImportsClauseSyntax
Public Function WithAlias (alias As ImportAliasClauseSyntax) As SimpleImportsClauseSyntax

Parameters

Returns

Applies to