.NET Framework Class Library
ModelItem.Source Property
Returns the property that provided this value.
Assembly: System.Activities.Presentation (in System.Activities.Presentation.dll)
Syntax
Visual Basic
Public MustOverride ReadOnly Property Source As ModelProperty Get
C#
public abstract ModelProperty Source { get; }
Visual C++
public: virtual property ModelProperty^ Source { ModelProperty^ get () abstract; }
F#
abstract Source : ModelProperty
Property Value
Type: System.Activities.Presentation.Model.ModelPropertyReturns a ModelProperty that indicates the source of this value.
Remarks
If the item represents the root of the object graph, this will return null. 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.
Version Information
.NET Framework
Supported in: 4.NET Framework Client Profile
Supported in: 4.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also