Class FieldSetFieldInfo
Base class for FieldSet description.
Namespace: OnixS.SimpleBinaryEncoding.Templates
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public class FieldSetFieldInfo : FieldInfo
Constructors
FieldSetFieldInfo(String, UInt16)
Constructor.
Declaration
public FieldSetFieldInfo(string name, ushort id)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | FieldSet name. |
System.UInt16 | id | FieldSet id. |
Properties
Fields
List of contained fields.
Declaration
public ReadOnlyCollection<FieldInfo> Fields { get; }
Property Value
Type | Description |
---|---|
ReadOnlyCollection<FieldInfo> |
Methods
AddField(FieldInfo)
Add field description.
Declaration
public void AddField(FieldInfo field)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | field | Field description. |
GetField(Int32)
Find field description.
Declaration
public FieldInfo[] GetField(int tag)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | tag | Field id. |
Returns
Type | Description |
---|---|
FieldInfo[] | Field description. |
GetGroupField(Int32)
Find a group field description.
Declaration
public GroupFieldInfo GetGroupField(int tag)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | tag | Field id. |
Returns
Type | Description |
---|---|
GroupFieldInfo | Group field description. |