Gets or sets the subject for the presentation element.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable Property Subject As ModelElement
'使用
Dim instance As PresentationElement
Dim value As ModelElement
value = instance.Subject
instance.Subject = value
public virtual ModelElement Subject { get; set; }
public:
virtual property ModelElement^ Subject {
ModelElement^ get ();
void set (ModelElement^ value);
}
public function get Subject () : ModelElement
public function set Subject (value : ModelElement)
Property Value
Type: Microsoft.VisualStudio.Modeling.ModelElement
The subject for the presentation element.
Permissions
- 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.