SPWorkflowTemplate.Name Property

Gets the name of the workflow template.

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

Syntax

'Declaration
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.MaxLength, Value := )> _
<ClientCallableAttribute> _
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.NotEmpty)> _
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.NotNull)> _
Public ReadOnly Property Name As String
    Get
'Usage
Dim instance As SPWorkflowTemplate
Dim value As String

value = instance.Name
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.MaxLength, Value = )]
[ClientCallableAttribute]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotEmpty)]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotNull)]
public string Name { get; }

Property Value

Type: System.String
A String that represent the workflow template name.

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