共用方式為


SPWorkflowAssociation.Name Property

Gets or sets the name of the workflow association.

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

Syntax

'Declaration
<ClientCallableAttribute> _
Public Property Name As String
    Get
    Set
'Usage
Dim instance As SPWorkflowAssociation
Dim value As String

value = instance.Name

instance.Name = value
[ClientCallableAttribute]
public string Name { get; set; }

Property Value

Type: System.String
A String that contains the name of the workflow association.

Exceptions

Exception Condition
ArgumentNullException

The value set is a null reference (Nothing in Visual Basic).

ArgumentException

The value set consists completely of white space.

Remarks

The value of the Name property is used to represent the workflow association in the user interface. Any string that is longer than 255 characters is truncated.

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