Field Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a field header.
public struct Field
type Field = struct
Public Structure Field
- Inheritance
-
Field
Constructors
Field(Tag, UInt32, Type) |
Initializes a new instance of the Field struct. |
Field(Tag) |
Initializes a new instance of the Field struct. |
Fields
FieldIdDeltaRaw |
The raw field identifier delta. |
FieldTypeRaw |
The raw field type. |
Tag |
The tag byte. |
Properties
ExtendedWireType |
Gets or sets the extended wire type. |
FieldIdDelta |
Gets or sets the field identifier delta. |
FieldType |
Gets or sets the type of the field. |
HasExtendedFieldId |
Gets a value indicating whether this instance has an extended field identifier. |
HasExtendedSchemaType |
Gets a value indicating whether this instance has an extended schema type. |
HasFieldId |
Gets a value indicating whether this instance has a field identifier. |
IsEndBaseFields |
Gets a value indicating whether this instance represents the end of base fields in a tag-delimited structure. |
IsEndBaseOrEndObject |
Gets a value indicating whether this instance represents the end of a tag-delimited structure or the end of base fields in a tag-delimited structure. |
IsEndObject |
Gets a value indicating whether this instance represents the end of a tag-delimited structure. |
IsReference |
Gets a value indicating whether this instance has a wire type of Reference. |
IsSchemaTypeValid |
Gets a value indicating whether this instance has a valid schema type. |
SchemaType |
Gets or sets the schema type. |
WireType |
Gets or sets the wire type. |
Methods
EnsureWireType(WireType) |
Ensures that the wire type is supported. |
EnsureWireTypeTagDelimited() |
Ensures that the wire type is TagDelimited. |
ToString() | Returns the fully qualified type name of this instance. |