Adds an entry to the data validation list.
Syntax
'Declaration
<System.Diagnostics.DebuggerStepThroughAttribute()>
<System.Diagnostics.DebuggerNonUserCodeAttribute()>
Public Sub DataValidationListAddEntry( _
ByVal As System.String _
)
'Usage
Dim instance As Reader
Dim newEntry As System.String
instance.DataValidationListAddEntry(newEntry)
[System.Diagnostics.DebuggerStepThrough()]
[System.Diagnostics.DebuggerNonUserCode()]
public void DataValidationListAddEntry(
System.string
)
public procedure DataValidationListAddEntry(
: System.String
);
System.Diagnostics.DebuggerStepThroughAttribute()
System.Diagnostics.DebuggerNonUserCodeAttribute()
public function DataValidationListAddEntry(
: System.String
);
[System.Diagnostics.DebuggerStepThrough()]
[System.Diagnostics.DebuggerNonUserCode()]
public: void DataValidationListAddEntry(
System.string*
)
[System.Diagnostics.DebuggerStepThrough()]
[System.Diagnostics.DebuggerNonUserCode()]
public:
void DataValidationListAddEntry(
System.String^
)
Parameters
- newEntry
- New entry for DataValidationList, must be 80 characters or less.
Exceptions
| Exception | Description |
| System.ArgumentOutOfRangeException | Thrown if the length of entry is greater than 80 characters, null or an empty string. |
See Also