共用方式為


XmlEmptyElementSyntax.WithName(XmlNodeSyntax) 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::XmlEmptyElementSyntax ^ WithName(Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^ name);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlEmptyElementSyntax WithName (Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax name);
member this.WithName : Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlEmptyElementSyntax
Public Function WithName (name As XmlNodeSyntax) As XmlEmptyElementSyntax

Parameters

Returns

Applies to