다음을 통해 공유


SPWorkflowTemplate.Item Property

Gets or sets an object that represents the metadata properties.

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 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 SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation