Compartir a través de


XmlNameSyntax.WithPrefix(XmlPrefixSyntax) Method

Definition

Returns a copy of this with the Prefix 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::XmlNameSyntax ^ WithPrefix(Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlPrefixSyntax ^ prefix);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNameSyntax WithPrefix (Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlPrefixSyntax prefix);
member this.WithPrefix : Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlPrefixSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNameSyntax
Public Function WithPrefix (prefix As XmlPrefixSyntax) As XmlNameSyntax

Parameters

Returns

Applies to