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: 51.0.16121.3915 (51.0.16121.3915)
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: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also