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
- requestor
Type: Microsoft.VisualStudio.Modeling.ModelElement
Return Value
Type: System.Boolean
.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.