ElementTypeDescriptor.IncludeOppositeRolePlayerProperties Method
For the specified model element, returns a value that indicates whether to add role properties for zero-to-one and one-to-one relationships.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Protected Overridable Function IncludeOppositeRolePlayerProperties ( _
requestor As ModelElement _
) As Boolean
protected virtual bool IncludeOppositeRolePlayerProperties(
ModelElement requestor
)
protected:
virtual bool IncludeOppositeRolePlayerProperties(
ModelElement^ requestor
)
abstract IncludeOppositeRolePlayerProperties :
requestor:ModelElement -> bool
override IncludeOppositeRolePlayerProperties :
requestor:ModelElement -> bool
protected function IncludeOppositeRolePlayerProperties(
requestor : ModelElement
) : boolean
Parameters
requestor
Type: Microsoft.VisualStudio.Modeling.ModelElementThe model element to return a value for.
Return Value
Type: System.Boolean
true in all cases.
Remarks
In a derived class, you can override this method to customize the behavior of your domain-specific language.
.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.