IsTypeOf(K2Field,Type) Method
See Also 
SourceCode.Workflow.Design.Common.Extensions Namespace > K2FieldExtensions Class > IsTypeOf Method : IsTypeOf(K2Field,Type) Method



field
The field.
type
The type.

Glossary Item Box

Determines whether [is type of] [the specified field].

Syntax

Visual Basic (Declaration) 
<ExtensionAttribute()>
Public Overloads Shared Function IsTypeOf( _
   ByVal field As K2Field, _
   ByVal type As Type _
) As Boolean
Visual Basic (Usage)Copy Code
Dim field As K2Field
Dim type As Type
Dim value As Boolean
 
value = K2FieldExtensions.IsTypeOf(field, type)
C# 
[Extension()]
public static bool IsTypeOf( 
   K2Field field,
   Type type
)
C++/CLI 
[Extension()]
public:
static bool IsTypeOf( 
   K2Field^ field,
   Type^ type
) 

Parameters

field
The field.
type
The type.

Return Value

true if [is type of] [the specified field]; otherwise, false.

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