Share via


WorkflowContextPropertyName Implicit conversion (WorkflowContextPropertyName to String)

Allows the class to implicitly convert to string when used in workflow xaml to avoid assembly reference.

Namespace:  Microsoft.SharePoint.WorkflowServices
Assembly:  Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)

Syntax

'Declaration
Public Shared Widening Operator CType ( _
    p As WorkflowContextPropertyName _
) As String
'Usage
Dim input As WorkflowContextPropertyName
Dim output As String

output = CType(input, String)
public static implicit operator string (
    WorkflowContextPropertyName p
)

Parameters

Return value

Type: System.String
Returns a value representing the property name.

See also

Reference

WorkflowContextPropertyName class

WorkflowContextPropertyName members

Implicit overload

Microsoft.SharePoint.WorkflowServices namespace