Registers a View type for a Model Object type. The viewBaseType
and modelType together will uniquely identify the
viewType in the registry.
Namespace: Spotfire.Dxp.Application.Extension
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax
C#
public void Register( Type viewBaseType, Type modelType, Type viewType )
Parameters
- viewBaseType
- Type: SystemType
Base type or interface for the viewType. - modelType
- Type: SystemType
The Model object type. - viewType
- Type: SystemType
The View type. Must be assignable to viewBaseType.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | If the combination has already been registered. |
ArgumentException | If viewType is not assignable to viewBaseTypeor if any argument is null. |
Version Information
Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also