OleCommandTextMaxLength Property |
Namespace: Tvl.VisualStudio.Shell
Exception | Condition |
---|---|
ObjectDisposedException | If the object has been disposed. |
The OLECMDTEXT structure uses a caller-allocated array of characters to hold the string data. When setting the Text property, if the value (plus a terminating NUL character) exceeds this length, the string is automatically truncated to fit within the provided buffer.