TPart
The type of the part.
Parts<TPart>(K2Field) Method
See Also 
SourceCode.Workflow.Design.Common.Extensions Namespace > K2FieldExtensions Class > Parts Method : Parts<TPart>(K2Field) Method



field
The field.

Glossary Item Box

Partses the specified field.

Syntax

Visual Basic (Declaration) 
<ExtensionAttribute()>
Public Overloads Shared Function Parts(Of TPart As K2FieldPart)( _
   ByVal field As K2Field _
) As IEnumerable(Of TPart)
Visual Basic (Usage)Copy Code
Dim field As K2Field
Dim value As IEnumerable(Of TPart)
 
value = K2FieldExtensions.Parts(Of TPart)(field)
C# 
[Extension()]
public static IEnumerable<TPart> Parts<TPart>( 
   K2Field field
)
where TPart: K2FieldPart
C++/CLI 
[Extension()]
public:
static IEnumerable<TPart^>^ Partsgeneric<typename TPart>
( 
   K2Field^ field
) 
where TPart: K2FieldPart

Parameters

field
The field.

Type Parameters

TPart
The type of the part.

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