共用方式為


SPWorkflowAssociation.Item Property

Gets the specified property from the BaseTemplate of the association.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Default Property Item ( _
    property As String _
) As Object
    Get
    Set
'Usage
Dim instance As SPWorkflowAssociation
Dim property As String
Dim value As Object

value = instance(property)

instance(property) = value
public Object this[
    string property
] { get; set; }

Parameters

  • property
    Type: System.String

    A string specifying the property to retrieve.

Property Value

Type: System.Object
The requested property.

Remarks

This property is a shortcut and is the same as using the Items property on the BaseTemplate of the association.

See Also

Reference

SPWorkflowAssociation Class

SPWorkflowAssociation Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation