XmlEditingScope.Parent Property
Returns the parent object if this XmlEditingScope has a parent.
Namespace: Microsoft.VisualStudio.XmlEditor
Assembly: Microsoft.VisualStudio.XmlEditor (in Microsoft.VisualStudio.XmlEditor.dll)
Syntax
public abstract XmlEditingScope Parent { get; }
public:
property XmlEditingScope^ Parent {
virtual XmlEditingScope^ get() abstract;
}
abstract Parent : XmlEditingScope with get
Public MustOverride ReadOnly Property Parent As XmlEditingScope
Property Value
Type: Microsoft.VisualStudio.XmlEditor.XmlEditingScope
If this XmlEditingScope has a parent, returns the XmlEditingScope that represents the parent; otherwise, null.
Remarks
When you call XmlEditingScope multiple times on the same stack frame in different places in your code, you will get a nested XmlEditingScope. You can use the Parent property to walk the XmlEditingScope parent chain.
See Also
XmlEditingScope Class
Microsoft.VisualStudio.XmlEditor Namespace
Return to top