Share via


ReferenceAttribute.ScopeIsDeclaringElement Property

Gets or sets a boolean indicating whether only providers can be used that are contained in the current Element View Model.

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

Syntax

'Declaration
Public Property ScopeIsDeclaringElement As Boolean
public bool ScopeIsDeclaringElement { get; set; }
public:
property bool ScopeIsDeclaringElement {
    bool get ();
    void set (bool value);
}
public function get ScopeIsDeclaringElement () : boolean
public function set ScopeIsDeclaringElement (value : boolean)

Field Value

truetrue (True in Visual Basic) if only providers can be used that are contained in the current Element View Model. Otherwise falsefalse (False in Visual Basic).

See Also

ReferenceAttribute Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design Namespace