[This is preliminary documentation and is subject to change.]
Indicates that the class is intended to be immutable.
| C# | Visual Basic | Visual C++ |
[AttributeUsageAttribute(AttributeTargets.Class)] public sealed class ImmutableAttribute : Attribute
<AttributeUsageAttribute(AttributeTargets.Class)> _ Public NotInheritable Class ImmutableAttribute _ Inherits Attribute
[AttributeUsageAttribute(AttributeTargets::Class)] public ref class ImmutableAttribute sealed : public Attribute
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| ImmutableAttribute()()()() | ||
| Equals(Object) | (Inherited from Attribute.) | |
| FieldGetter(String, String, Object%) | (Inherited from Object.) | |
| FieldSetter(String, String, Object) | (Inherited from Object.) | |
| Finalize()()()() | (Inherited from Object.) | |
| GetFieldInfo(String, String) | (Inherited from Object.) | |
| GetHashCode()()()() | (Inherited from Attribute.) | |
| _Attribute..::..GetIDsOfNames(Guid%, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) | |
| GetType()()()() | (Inherited from Object.) | |
| _Attribute..::..GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) | |
| _Attribute..::..GetTypeInfoCount(UInt32%) | (Inherited from Attribute.) | |
| _Attribute..::..Invoke(UInt32, Guid%, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) | |
| IsDefaultAttribute()()()() | (Inherited from Attribute.) | |
| Match(Object) | (Inherited from Attribute.) | |
| MemberwiseClone()()()() | (Inherited from Object.) | |
| ToString()()()() | (Inherited from Object.) | |
| TypeId | (Inherited from Attribute.) |