共用方式為


XmlEmptyElementSyntax.WithName(XmlNameSyntax) 方法

定義

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

參數

傳回

適用於