Class XmlKnownTypeAttribute
Instructs the serializer to explicitly read the provided type
Inherited Members
Namespace: NMF.Serialization
Assembly: NMF.Serialization.dll
Syntax
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface, AllowMultiple = true, Inherited = false)]
public class XmlKnownTypeAttribute : Attribute
Constructors
| Edit this page View SourceXmlKnownTypeAttribute(Type)
Creates a new instance
Declaration
public XmlKnownTypeAttribute(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | the known type |
Properties
| Edit this page View SourceType
The type
Declaration
public Type Type { get; }
Property Value
Type | Description |
---|---|
Type |