DocumentNodeDeserializeReadOnlyPropertyT Method

Spotfire 15.0 API Reference
Deserializes a read-only property of type T stored in info with key propertyName.

Namespace:  Spotfire.Dxp.Framework.DocumentModel
Assembly:  Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 71.0.22122.5390 (71.0.22122.5390)
Syntax

C#
protected void DeserializeReadOnlyProperty<T>(
	SerializationInfo info,
	StreamingContext context,
	PropertyName propertyName,
	out T field
)

Parameters

info
Type: System.Runtime.SerializationSerializationInfo
The SerializationInfo for the document node that owns the property.
context
Type: System.Runtime.SerializationStreamingContext
The context.
propertyName
Type: Spotfire.Dxp.Framework.DocumentModelPropertyName
Name of the property.
field
Type: T
The field that the deserialized property value will be assigned to. This shall be a readonly field.

Type Parameters

T
Version Information


See Also

Reference