共用方式為


NamedActionDictionary.Item Property

Sets or gets the value of an item in the NamedActionDictionary object.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Default Property Item ( _
    actionName As String _
) As Action
    Get
    Set
'Usage
Dim instance As NamedActionDictionary
Dim actionName As String
Dim value As Action

value = instance(actionName)

instance(actionName) = value
public Action this[
    string actionName
] { get; set; }

Parameters

Property Value

Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.Action
The name of the action.

See Also

Reference

NamedActionDictionary Class

NamedActionDictionary Members

Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace