DotNetModule.DisplayCreateCustomDataTypeDialog
- Mise à jour2025-07-21
- Temps de lecture : 1 minute(s)
DotNetModule.DisplayCreateCustomDataTypeDialog
Syntax
DotNetModule.DisplayCreateCustomDataTypeDialog( sequenceContext)
Return Value
Returns True if you click OK in the dialog box and False if you click Cancel .
Purpose
Launches the Create Custom Data Type from Struct dialog box, in which you can create a new data type that you can use as the reference that the module operates on.
Remarks
Call this method only if the class name specified for the module is a struct, otherwise this method returns without launching the Create Custom Data Type from Struct dialog box. Use the DotNetModule.IsStruct property to determine whether the class name is a struct.
Parameters
sequenceContext As SequenceContext
[In] Specifies the sequence context the Create Custom Data Type from Struct dialog box uses to obtain information about the sequence file. You can use the Engine.NewEditContext method to obtain an edit-time sequence context.