System.SerializableAttribute

E697436

System.SerializableAttribute is a C# attribute that marks a class or struct as capable of being serialized by the .NET runtime.

All labels observed (1)

Label Occurrences
System.SerializableAttribute canonical 1

How this entity was disambiguated

Statements (45)

Predicate Object
instanceOf .NET attribute ⓘ
attribute class ⓘ
serialization marker attribute ⓘ
allowMultiple false ⓘ
appliesTo class ⓘ
struct ⓘ
appliesToGenericTypes true ⓘ
baseClass System.Attribute ⓘ
definedInAssembly System.Runtime ⓘ
mscorlib ⓘ
linked to: mscorlib.dll
definedInNamespace System ⓘ
hasAttributeUsage AttributeTargets.Class ⓘ
AttributeTargets.Struct ⓘ
hasParameterlessConstructor true ⓘ
inherited false ⓘ
introducedInFramework .NET Framework 1.0 ⓘ
linked to: .NET Framework
isAttributeClass true ⓘ
isCLSCompliant true ⓘ
isComVisible true ⓘ
isMetadataOnly true ⓘ
isPartOf .NET Base Class Library ⓘ
isSealed true ⓘ
language C# ⓘ
languageBinding C# attribute syntax [Serializable] ⓘ
VB.NET attribute syntax <Serializable()> ⓘ
notRequiredBy DataContractSerializer ⓘ
XmlSerializer ⓘ
platform .NET 5+ ⓘ
.NET Core ⓘ
.NET Framework ⓘ
purpose marks a type as serializable by the .NET runtime ⓘ
relatedAttribute System.NonSerializedAttribute ⓘ
relatedInterface System.Runtime.Serialization.IDeserializationCallback ⓘ
System.Runtime.Serialization.ISerializable ⓘ
requires all instance fields must be serializable or marked NonSerialized ⓘ
type must be marked for BinaryFormatter to serialize it ⓘ
runtimeBehavior does not itself implement serialization logic ⓘ
shortName Serializable ⓘ
usageExample [Serializable] public class MyClass { } ⓘ
usedBy BinaryFormatter ⓘ
NetDataContractSerializer ⓘ
SoapFormatter ⓘ
usedFor SOAP serialization ⓘ
binary serialization ⓘ
remoting serialization ⓘ

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.SerializableAttribute ⓘ