Share via


SPWorkflowTemplate.Item property

Gets or sets an object that represents the metadata properties.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Default Property Item ( _
    property As String _
) As Object
    Get
    Set
'Usage
Dim instance As SPWorkflowTemplate
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

    The name of the metadata property.

Property value

Type: System.Object
An object that contains the metadata properties.

Remarks

Both get and set work, although we recommend that users use the AssociationData property instead of trying to set the “Instantiation_Data” property.

See also

Reference

SPWorkflowTemplate class

SPWorkflowTemplate members

Microsoft.SharePoint.Workflow namespace

Other resources

Workflows in Windows SharePoint Services

Workflow Development for Windows SharePoint Services

Workflow Object Model in Windows SharePoint Services Overview