System.SerializableAttribute

E697436

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

Try in SPARQL Jump to: Statements Referenced by

Statements (45)

Predicate Object
instanceOf .NET attribute
attribute class
serialization marker attribute
allowMultiple false
appliesTo class
struct
appliesToGenericTypes true
baseClass System.Attribute NERFINISHED
definedInAssembly System.Runtime NERFINISHED
mscorlib NERFINISHED
definedInNamespace System NERFINISHED
hasAttributeUsage AttributeTargets.Class
AttributeTargets.Struct NERFINISHED
hasParameterlessConstructor true
inherited false
introducedInFramework .NET Framework 1.0 NERFINISHED
isAttributeClass true
isCLSCompliant true
isComVisible true
isMetadataOnly true
isPartOf .NET Base Class Library NERFINISHED
isSealed true
language C#
languageBinding C# attribute syntax [Serializable]
VB.NET attribute syntax <Serializable()>
notRequiredBy DataContractSerializer NERFINISHED
XmlSerializer NERFINISHED
platform .NET 5+
.NET Core NERFINISHED
.NET Framework NERFINISHED
purpose marks a type as serializable by the .NET runtime
relatedAttribute System.NonSerializedAttribute NERFINISHED
relatedInterface System.Runtime.Serialization.IDeserializationCallback NERFINISHED
System.Runtime.Serialization.ISerializable NERFINISHED
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 NERFINISHED
NetDataContractSerializer NERFINISHED
SoapFormatter NERFINISHED
usedFor SOAP serialization
binary serialization
remoting serialization

Referenced by (1)

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

C# attributes exampleAttribute System.SerializableAttribute