

| Type | Description | |||
| Name as EditorOptionEnum | An EditorOptionEnum expression that indicates the editor's option being changed. | |||
| Variant | A Variant expression that indicates the value for editor's option | 
The following VB sample adds a password editor:
 With Record1
    .BeginUpdate
     With .Add("Password", EXRECORDLibCtl.EditType)
        .Option(exEditPassword) = True
        .Value = "pass"
    End With
    .EndUpdate
End With
  The following VC sample adds a password editor:
COleVariant vtMissing; vtMissing.vt = VT_ERROR;
CEditor editor = m_record.Add(COleVariant("Password"), /*EditType*/ 1, vtMissing );
editor.SetOption( /*exEditPassword*/ 18, COleVariant( (long)TRUE ) );
editor.SetValue( COleVariant( "pass" ) );