EnsureThatRequiredDataFieldExists(Process,String,DataTypes,FieldScope,Object) Method
See Also 
SourceCode.Workflow.Design.Outcome Namespace > Common Class > EnsureThatRequiredDataFieldExists Method : EnsureThatRequiredDataFieldExists(Process,String,DataTypes,FieldScope,Object) Method



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

Glossary Item Box

Ensures the that required data field exists.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Sub EnsureThatRequiredDataFieldExists( _
   ByVal process As Process, _
   ByVal name As String, _
   ByVal datatype As DataTypes, _
   ByVal fieldscope As FieldScope, _
   ByVal initialvalue As Object _
) 
Visual Basic (Usage)Copy Code
Dim process As Process
Dim name As String
Dim datatype As DataTypes
Dim fieldscope As FieldScope
Dim initialvalue As Object
 
Common.EnsureThatRequiredDataFieldExists(process, name, datatype, fieldscope, initialvalue)
C# 
public static void EnsureThatRequiredDataFieldExists( 
   Process process,
   string name,
   DataTypes datatype,
   FieldScope fieldscope,
   object initialvalue
)
C++/CLI 
public:
static void EnsureThatRequiredDataFieldExists( 
   Process^ process,
   String^ name,
   DataTypes datatype,
   FieldScope fieldscope,
   Object^ initialvalue
) 

Parameters

process
The process.
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