XmlUtilities.RemoveAllXmlNodes Method
Removes all nodes that match the specified xpath.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Shared Sub RemoveAllXmlNodes ( _
doc As XmlDocument, _
xpath As String, _
nsmgr As XmlNamespaceManager _
)
'Usage
Dim doc As XmlDocument
Dim xpath As String
Dim nsmgr As XmlNamespaceManager
XmlUtilities.RemoveAllXmlNodes(doc, xpath, _
nsmgr)
public static void RemoveAllXmlNodes(
XmlDocument doc,
string xpath,
XmlNamespaceManager nsmgr
)
public:
static void RemoveAllXmlNodes(
XmlDocument^ doc,
String^ xpath,
XmlNamespaceManager^ nsmgr
)
public static function RemoveAllXmlNodes(
doc : XmlDocument,
xpath : String,
nsmgr : XmlNamespaceManager
)
static member RemoveAllXmlNodes :
doc:XmlDocument *
xpath:string *
nsmgr:XmlNamespaceManager -> unit
Parameters
- doc
Type: System.Xml.XmlDocument
The XML document
- xpath
Type: System.String
The specified XPath
- nsmgr
Type: System.Xml.XmlNamespaceManager
The XML namespace manger
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities Namespace