Class CompactSliceTypeIdAttribute
- Namespace
- ZeroC.Slice
- Assembly
- ZeroC.Slice.dll
Assigns a compact Slice type ID to a class.
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public sealed class CompactSliceTypeIdAttribute : Attribute
- Inheritance
-
CompactSliceTypeIdAttribute
- Inherited Members
Remarks
The Slice compiler assigns both a Slice type ID and a compact Slice type ID to the mapped class of a Slice class that specifies a compact type ID.
Constructors
CompactSliceTypeIdAttribute(int)
Constructs a compact Slice type ID attribute.
public CompactSliceTypeIdAttribute(int value)
Parameters
valueintThe compact type ID.
Properties
Value
Gets the compact Slice type ID.
public int Value { get; }
Property Value
- int
The compact Slice type ID numeric value.