다음을 통해 공유


AttributeListSyntax.WithAttributes Method

Definition

Returns a copy of this with the Attributes 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::AttributeListSyntax ^ WithAttributes(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributeSyntax ^> attributes);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax WithAttributes (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeSyntax> attributes);
member this.WithAttributes : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax
Public Function WithAttributes (attributes As SeparatedSyntaxList(Of AttributeSyntax)) As AttributeListSyntax

Parameters

Returns

Applies to