Share via


ModelItem.Source Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns the property that provided this value.

Namespace:  System.Activities.Design.Model
Assembly:  System.Activities.Design.Base (in System.Activities.Design.Base.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property Source As ModelProperty
    Get
'Usage
Dim instance As ModelItem
Dim value As ModelProperty

value = instance.Source
public abstract ModelProperty Source { get; }
public:
virtual property ModelProperty^ Source {
    ModelProperty^ get () abstract;
}
abstract function get Source () : ModelProperty
abstract Source : ModelProperty

Property Value

Type: System.Activities.Design.Model.ModelProperty
Returns a ModelProperty that indicates the source of this value.

Remarks

If the item represents the root of the object graph, this will return nulla null reference (Nothing in Visual Basic). If an item is a member of a collection or dictionary, the property returned from Source will be a pseudo-property provided by the collection or dictionary. For other values, the Source property returns the property where the value was actually set. Therefore, if a value is being inherited, Source allows you to find out who originally provided the value.

.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

ModelItem Class

ModelItem Members

System.Activities.Design.Model Namespace