編輯

共用方式為


ContextActivated Element in ContextEventHandlers

(SolutionManifestDeclarativeExtensions Schema)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

The ContextActivated element enables you to execute a specified action when a context becomes active.

Namespace: http://schemas.microsoft.com/office/2009/05/BusinessApplications/Manifest/DeclarativeExtensions

Schema: SolutionManifestDeclarativeExtensions

<ContextActivated  ActionName = "String" Description = "String"> </ContextActivated>

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

**ActionName**

The name of the action to execute.

Required.

Attribute type: **String**

**Description**

A description for the action.

Optional.

Attribute type: **String**

Child elements

None.

Parent elements

Element Description
ContextEventHandlers Element in DeclarativeContextDefinition (SolutionManifestDeclarativeExtensions Schema) The context event handlers for the context.