共用方式為


XmlBracketedNameSyntax.WithName(XmlNameSyntax) Method

Definition

Returns a copy of this with the Name 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::XmlBracketedNameSyntax ^ WithName(Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNameSyntax ^ name);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlBracketedNameSyntax WithName (Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNameSyntax name);
member this.WithName : Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNameSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlBracketedNameSyntax
Public Function WithName (name As XmlNameSyntax) As XmlBracketedNameSyntax

Parameters

Returns

Applies to