XmlDeclarationSyntax.WithStandalone(XmlDeclarationOptionSyntax) 方法

定义

返回此副本,其中独立属性已更改为指定值。 如果指定的值与当前值相同,则返回此实例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlDeclarationSyntax ^ WithStandalone(Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlDeclarationOptionSyntax ^ standalone);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlDeclarationSyntax WithStandalone (Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlDeclarationOptionSyntax standalone);
member this.WithStandalone : Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlDeclarationOptionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlDeclarationSyntax
Public Function WithStandalone (standalone As XmlDeclarationOptionSyntax) As XmlDeclarationSyntax

参数

返回

适用于