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: 64.0.19329.3263 (64.0.19329.3263)
Syntax
C#
protected void CreateReadOnlyProperty<T>( PropertyName propertyName, T value, out T field )
Parameters
- propertyName
- Type: Spotfire.Dxp.Framework.DocumentModelPropertyName
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: 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