M-Files API 22.6.11519.0
SetUseAsDefaults Method
ObjectCreationInfo Object : SetUseAsDefaults Method
If this parameter is True, the Use as Defaults checkbox is selected.
If this parameter is True, the Use as Defaults checkbox selection can be modified by the user.
Description
Sets the state of Use as Defaults selection.

Sets the state of Use as Defaults selection.

This option is available in the metadata card when OkToAllButtonVisible Property is set to true.

Syntax
Visual Basic
Public Sub SetUseAsDefaults( _
   ByVal UseAsDefaults As Boolean, _
   ByVal Editable As Boolean _
) 
Parameters
UseAsDefaults
If this parameter is True, the Use as Defaults checkbox is selected.
Editable
If this parameter is True, the Use as Defaults checkbox selection can be modified by the user.
Remarks
It is the responsibility of the caller to implement the functionality required to support the Use as Defaults action in the metadata card. The user selection is received via the UseAsDefaults Property.
See Also

ObjectCreationInfo Object  | ObjectCreationInfo Members