Directory.SetDisplayName Method
This method sets a directory display name.
Namespace:
IntervalZero.MaxRT.Libraries.VariableDatabase
Assembly:
IntervalZero.MaxRT.Libraries (in IntervalZero.MaxRT.Libraries.dll) Version: 1.0.0.0 (File version: 1.1.0)
Syntax
public void SetDisplayName(
string displayName
)
Parameters
displayName
Type: String
The directory display name. The maximum display name length is 63 characters.
Return Value
Type: void
InvalidOperationException is thrown when the directory is not open.
ArgumentNullException is thrown when parameter displayName is null.
MaxRTNativeException is thrown when these errors occur:
| Error code | Meaning |
|---|---|
|
ERROR_INVALID_PARAMETER |
The value of parameter displayName exceeds 63 characters in length. |
|
ERROR_ABANDONED_WAIT_0 |
Failed to acquire the synchronization lock. |
See Also: