Class IceTypeIdAttribute
Assigns an Ice type ID to a class, interface, or struct.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Interface, Inherited = false)]
public sealed class IceTypeIdAttribute : Attribute
- Inheritance
-
IceTypeIdAttribute
- Inherited Members
Remarks
The Ice compiler assigns Ice type IDs to interfaces and record structs it generates from Ice interfaces. It also assigns Ice type IDs to classes generated from Ice classes and exceptions.
Constructors
IceTypeIdAttribute(string)
Constructs an Ice type ID attribute.
public IceTypeIdAttribute(string value)
Parameters
valuestringThe Ice type ID.
Properties
Value
Gets the Ice type ID.
public string Value { get; }
Property Value
- string
The Ice type ID string.