ComponentActionsType 枚举
定义
根据对象绑定智能标记与组件的关联方式,指定其类型。Specifies the type of object-bound smart tag with respect to how it was associated with the component.
public enum class ComponentActionsType
public enum ComponentActionsType
type ComponentActionsType =
Public Enum ComponentActionsType
- 继承
字段
All | 0 | 两种智能标记类型。Both types of smart tags. |
Component | 1 | 仅拉模型智能标记。Pull model smart tags only. |
Service | 2 | 仅推模型智能标记。Push model smart tags only. |
注解
下表描述了用于将对象绑定智能标记与组件相关联的两个选项。The following table describes the two options for associating an object-bound smart tag to a component.
智能标记模型Smart-tag model | 说明Description |
---|---|
请求Pull | 从ComponentDesigner与组件关联的派生的类将ActionLists重写属性以返回该组件的智能标记的集合。The class derived from ComponentDesigner that is associated with the component overrides the ActionLists property to return the collection of smart tags for that component. |
推Push | 调用Add方法会将指定的智能标记显式与指定的组件相关联。A call to the Add method explicitly associates the specified smart tags with the specified component. |
有关这些智能标记模型的详细信息, 请参阅DesignerActionService和DesignerActionListCollection类。For more information about these smart-tag models, see the DesignerActionService and DesignerActionListCollection classes.