Partilhar via


XmlNamespaceImportsClauseSyntax.WithXmlNamespace(XmlAttributeSyntax) Method

Definition

Returns a copy of this with the XmlNamespace 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::XmlNamespaceImportsClauseSyntax ^ WithXmlNamespace(Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlAttributeSyntax ^ xmlNamespace);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNamespaceImportsClauseSyntax WithXmlNamespace (Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlAttributeSyntax xmlNamespace);
member this.WithXmlNamespace : Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlAttributeSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNamespaceImportsClauseSyntax
Public Function WithXmlNamespace (xmlNamespace As XmlAttributeSyntax) As XmlNamespaceImportsClauseSyntax

Parameters

xmlNamespace
XmlAttributeSyntax

Returns

Applies to