ModelItem.Source 属性

定义

获取提供此值的属性。

public:
 abstract property System::Activities::Presentation::Model::ModelProperty ^ Source { System::Activities::Presentation::Model::ModelProperty ^ get(); };
public abstract System.Activities.Presentation.Model.ModelProperty Source { get; }
member this.Source : System.Activities.Presentation.Model.ModelProperty
Public MustOverride ReadOnly Property Source As ModelProperty

属性值

指示此值的源的 A ModelProperty

注解

如果项表示对象图的根目录,则这将返回 null。 如果项是集合或字典的成员,则从 Source 返回的属性将是集合或字典提供的伪属性。 对于其他值,Source 属性返回实际设置值的属性。 因此,如果正在继承某个值,则源允许你找出最初提供该值的人员。

适用于