Visual Basic (Declaration) | |
---|---|
<ExtensionAttribute()> Public Overloads Shared Function Parts(Of TPart As K2FieldPart)( _ ByVal field As K2Field _ ) As IEnumerable(Of TPart) |
Visual Basic (Usage) | ![]() |
---|---|
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.
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