AddIn ViewRegistrar Register Method TIBCO Spotfire 6.0 API Reference
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: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public void Register(
	Type viewBaseType,
	Type modelType,
	Type viewType
)

Parameters

viewBaseType
Type: System Type
Base type or interface for the viewType.
modelType
Type: System Type
The Model object type.
viewType
Type: System Type
The View type. Must be assignable to viewBaseType.
Exceptions

ExceptionCondition
System InvalidOperationExceptionIf the combination has already been registered.
System ArgumentExceptionIf viewType is not assignable to viewBaseTypeor if any argument is null.
See Also