Share via


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)

Usage

'Usage
Dim instance As XmlEditingScope
Dim value As XmlEditingScope

value = instance.Parent

Syntax

'Declaration
Public MustOverride ReadOnly Property Parent As XmlEditingScope
public abstract XmlEditingScope Parent { get; }
public:
virtual property XmlEditingScope^ Parent {
    XmlEditingScope^ get () abstract;
}
/** @property */
public abstract XmlEditingScope get_Parent ()
public abstract function get Parent () : XmlEditingScope

Property Value

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

See Also

Reference

XmlEditingScope Class
XmlEditingScope Members
Microsoft.VisualStudio.XmlEditor Namespace

Build Date:

2012-11-12