ComponentActionsType ComponentActionsType ComponentActionsType ComponentActionsType Enum

定义

根据对象绑定智能标记与组件的关联方式,指定其类型。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
继承
ComponentActionsTypeComponentActionsTypeComponentActionsTypeComponentActionsType

字段

All All All All 0

两种智能标记类型。Both types of smart tags.

Component Component Component Component 1

仅拉模型智能标记。Pull model smart tags only.

Service Service Service 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.

有关这些智能标记模型的详细信息, 请参阅DesignerActionServiceDesignerActionListCollection类。For more information about these smart-tag models, see the DesignerActionService and DesignerActionListCollection classes.

适用于

另请参阅