RolePlayerMenuCommand.Result Property
Gets or sets a value that represents the result of the command.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Public Property Result As ModelElement
'Usage
Dim instance As RolePlayerMenuCommand
Dim value As ModelElement
value = instance.Result
instance.Result = value
public ModelElement Result { get; set; }
public:
property ModelElement^ Result {
ModelElement^ get ();
void set (ModelElement^ value);
}
public function get Result () : ModelElement
public function set Result (value : ModelElement)
Property Value
Type: Microsoft.VisualStudio.Modeling.ModelElement
A value that represents the result of the command.
Remarks
Update this value to indicate the element that the Domain-Specific Language Tools (DSL Tools) should assign to the role property. A value of nulla null reference (Nothing in Visual Basic) indicates that no link should be created or that the existing link should be deleted.
Notes to Inheritors:
The implementation of the DoCommand sets this property.
.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.
See Also
Reference
Microsoft.VisualStudio.Modeling.Design Namespace
Change History
Date |
History |
Reason |
---|---|---|
July 2008 |
Added topic. |
Content bug fix. |