T
EnsureForType<T> Method
See Also 
SourceCode.Workflow.Authoring Namespace > K2FieldExtensions Class : EnsureForType<T> Method



field
The field.

Glossary Item Box

Ensures for type.

Syntax

Visual Basic (Declaration) 
Public Shared Function EnsureForType(Of T)( _
   ByVal field As K2Field _
) As K2Field
Visual Basic (Usage)Copy Code
Dim field As K2Field
Dim value As K2Field
 
value = K2FieldExtensions.EnsureForType(Of T)(field)
C# 
public static K2Field EnsureForType<T>( 
   K2Field field
)
C++/CLI 
public:
static K2Field^ EnsureForTypegeneric<typename T>
( 
   K2Field^ field
) 

Parameters

field
The field.

Type Parameters

T

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