Assigns an immutable id to this type. The id must be unique and is used to identify the type even if the type name, namespace or version should change. The Dynamic Type system uses this value to detect data schema changes.

Namespace: Composite.Data
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public class ImmutableTypeIdAttribute : Attribute
Visual Basic
Public Class ImmutableTypeIdAttribute _
	Inherits Attribute
Visual C++
public ref class ImmutableTypeIdAttribute : public Attribute

Examples

This sample shows how to use the ImmutableTypeId attribute:
CopyC#
[ImmutableTypeId("b3bada55-0e7e-4195-86e6-92770c381df3")]
// (other IData attributes)
interface IMyDataType : IData
{
    // data type properties
}

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    Composite.Data..::..ImmutableTypeIdAttribute

See Also