Table of Contents

Class CompactIceTypeIdAttribute

Namespace
IceRpc.Ice.Codec
Assembly
IceRpc.dll

Assigns a compact Ice type ID to a class.

[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public sealed class CompactIceTypeIdAttribute : Attribute
Inheritance
CompactIceTypeIdAttribute
Inherited Members

Remarks

The Ice compiler assigns both an Ice type ID and a compact Ice type ID to the mapped class of an Ice class that specifies a compact type ID.

Constructors

CompactIceTypeIdAttribute(int)

Constructs a compact Ice type ID attribute.

public CompactIceTypeIdAttribute(int value)

Parameters

value int

The compact type ID.

Properties

Value

Gets the compact Ice type ID.

public int Value { get; }

Property Value

int

The compact Ice type ID numeric value.