DocumentNode CreateReadOnlyProperty T  Method TIBCO Spotfire 6.5 API Reference
Creates a read-only property of type T and assigns it to the specified field.

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

protected void CreateReadOnlyProperty<T>(
	PropertyName propertyName,
	T value,
	out T field
)

Parameters

propertyName
Type: Spotfire.Dxp.Framework.DocumentModel PropertyName
The PropertyName.
value
Type: T
The value assigned to the property.
field
Type: T 
The field that the property value will be assigned to. This shall be a readonly field.
Type Parameters

T
The type of the property.
Version Information

Supported in: 6.5, 6.0, 5.5, 5.0, 4.5
See Also