CreateDataField Method
See Also 
SourceCode.Workflow.Design.Outcome Namespace > Common Class : CreateDataField Method



name
The name.
datatype
The datatype.
fieldscope
The fieldscope.
initialvalue
The initialvalue.

Glossary Item Box

Creates the data field.

Syntax

Visual Basic (Declaration) 
Public Shared Function CreateDataField( _
   ByVal name As String, _
   ByVal datatype As DataTypes, _
   ByVal fieldscope As FieldScope, _
   ByVal initialvalue As Object _
) As DataField
Visual Basic (Usage)Copy Code
Dim name As String
Dim datatype As DataTypes
Dim fieldscope As FieldScope
Dim initialvalue As Object
Dim value As DataField
 
value = Common.CreateDataField(name, datatype, fieldscope, initialvalue)
C++/CLI 
public:
static DataField^ CreateDataField( 
   String^ name,
   DataTypes datatype,
   FieldScope fieldscope,
   Object^ initialvalue
) 

Parameters

name
The name.
datatype
The datatype.
fieldscope
The fieldscope.
initialvalue
The initialvalue.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also