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.StringThe 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
Microsoft.SharePoint.Workflow Namespace
Other Resources
Workflows in SharePoint Foundation