共用方式為


UsingDirectiveSyntax.WithAlias(NameEqualsSyntax) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::UsingDirectiveSyntax ^ WithAlias(Microsoft::CodeAnalysis::CSharp::Syntax::NameEqualsSyntax ^ alias);
public Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax WithAlias (Microsoft.CodeAnalysis.CSharp.Syntax.NameEqualsSyntax alias);
public Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax WithAlias (Microsoft.CodeAnalysis.CSharp.Syntax.NameEqualsSyntax? alias);
member this.WithAlias : Microsoft.CodeAnalysis.CSharp.Syntax.NameEqualsSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax
Public Function WithAlias (alias As NameEqualsSyntax) As UsingDirectiveSyntax

Parameters

Returns

Applies to