Partager via


ElementReferenceProperty.ContainingScopeElement Property

Gets the element that provides the scope for searching for referenced elements.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property ContainingScopeElement As ElementViewModel
public virtual ElementViewModel ContainingScopeElement { get; }
public:
virtual property ElementViewModel^ ContainingScopeElement {
    ElementViewModel^ get ();
}
public function get ContainingScopeElement () : ElementViewModel

Remarks

Element references will be in the DescendentElements() collection of this element.

See Also

ElementReferenceProperty Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel Namespace