共用方式為


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
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

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

See Also

Reference

ElementTypeDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace