System.Runtime.Serialization.DataContractAttribute

E697440

System.Runtime.Serialization.DataContractAttribute is a .NET attribute used to mark classes or structures as serializable with the DataContractSerializer, enabling control over how types are serialized and deserialized.

All labels observed (1)

How this entity was disambiguated

Statements (48)

Predicate Object
instanceOf .NET attribute ⓘ
attribute class ⓘ
serialization attribute ⓘ
allowMultiple false ⓘ
appliesTo class ⓘ
enum ⓘ
interface ⓘ
struct ⓘ
attributeUsage AttributeTargets.Class ⓘ
AttributeTargets.Enum ⓘ
AttributeTargets.Interface ⓘ
AttributeTargets.Struct ⓘ
controls data contract name ⓘ
data contract namespace ⓘ
reference-preserving behavior ⓘ
defaultValue(IsReference) false ⓘ
definedInAssembly System.Runtime.Serialization.dll ⓘ
System.Runtime.dll ⓘ
mscorlib.dll ⓘ
definedInNamespace System.Runtime.Serialization ⓘ
documentationUrl https://learn.microsoft.com/dotnet/api/system.runtime.serialization.datacontractattribute ⓘ
hasProperty IsNameSetExplicitly ⓘ
IsNamespaceSetExplicitly ⓘ
IsReference ⓘ
Name ⓘ
Namespace ⓘ
inherited false ⓘ
inheritsFrom System.Attribute ⓘ
introducedIn .NET Framework 3.0 ⓘ
linked to: .NET Framework
isClass true ⓘ
isPartOf Windows Communication Foundation data contract model ⓘ
isPublic true ⓘ
isSealed true ⓘ
language C# ⓘ
propertyType(IsNameSetExplicitly) System.Boolean ⓘ
propertyType(IsNamespaceSetExplicitly) System.Boolean ⓘ
propertyType(IsReference) System.Boolean ⓘ
propertyType(Name) System.String ⓘ
propertyType(Namespace) System.String ⓘ
serializationModel opt-in ⓘ
supportedIn .NET 5+ ⓘ
.NET Core ⓘ
.NET Framework ⓘ
usedBy System.Runtime.Serialization.DataContractSerializer ⓘ
usedFor controlling deserialization ⓘ
controlling serialization ⓘ
marking types as data contracts ⓘ
usedWith System.Runtime.Serialization.DataMemberAttribute ⓘ

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

C# attributes → exampleAttribute → System.Runtime.Serialization.DataContractAttribute ⓘ