Search
Style.RegisterType Method
See Also
 





Associates a type with an alias.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static void RegisterType (
    Type type,
    string alias
)

Visual Basic  Copy Code

Public Shared Sub RegisterType( _
    type As Type, _
    alias As String _
)

 Parameters

type

The type to associate.

alias

The unique alias for the type.

 Remarks

The alias is used when saving and loading objects of the specified type during style serialization and deserialization.

 See Also