DocumentNodeDeserializeReadOnlyPropertyT Method

Spotfire 14.2 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: 64.0.19329.3263 (64.0.19329.3263)
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

Supported in: 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8, 11.7, 11.6, 11.5, 11.4
See Also

Reference