Class Extension (3.27.1)

public abstract class Extension

Represents a non-generic extension definition. This API is experimental and subject to change.

Inheritance

object > Extension

Namespace

Google.Protobuf

Assembly

Google.Protobuf.dll

Constructors

Extension(int)

protected Extension(int fieldNumber)

Internal use. Creates a new extension with the specified field number.

Parameter
Name Description
fieldNumber int

Properties

FieldNumber

public int FieldNumber { get; }

Gets the field number of this extension

Property Value
Type Description
int