共用方式為


ElementTypeDescriptor.IncludeCollectionRoleProperties Method

For all the relationships this model element participate, return whether to provide a PropertyDescriptor for Collection properties based on roles.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
Protected Overridable Function IncludeCollectionRoleProperties ( _
    requestor As ModelElement _
) As Boolean
protected virtual bool IncludeCollectionRoleProperties(
    ModelElement requestor
)
protected:
virtual bool IncludeCollectionRoleProperties(
    ModelElement^ requestor
)
abstract IncludeCollectionRoleProperties : 
        requestor:ModelElement -> bool 
override IncludeCollectionRoleProperties : 
        requestor:ModelElement -> bool 
protected function IncludeCollectionRoleProperties(
    requestor : ModelElement
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

ElementTypeDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace