다음을 통해 공유


DefineDirectiveTriviaSyntax.WithName(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::DefineDirectiveTriviaSyntax ^ WithName(Microsoft::CodeAnalysis::SyntaxToken name);
public Microsoft.CodeAnalysis.CSharp.Syntax.DefineDirectiveTriviaSyntax WithName (Microsoft.CodeAnalysis.SyntaxToken name);
member this.WithName : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.DefineDirectiveTriviaSyntax
Public Function WithName (name As SyntaxToken) As DefineDirectiveTriviaSyntax

Parameters

Returns

Applies to