Description
This method sets the display keywords to keywords and the global keywords to globalKeywords. The display keywords in keywords must be surrounded by an opening square bracket ("[") at the beginning and a closing square bracket ("]") at the end. The keywords in this list must be delimited by a forward slash character ("/").
Each display keyword specified in keywords must also be matched by a keyword in the same position in the globalKeywords string. Keywords in globalKeywords must be delimited by a single space.
If the bracketed keyword list is missing or empty, a System.ArgumentException is thrown. If the number of global keywords does not match the number of display keywords, a System.ArgumentException is thrown.
Visual Basic
Public Function SetKeywords( keywords As string, globalKeywords As string ) As void
C#
public void SetKeywords( string keywords, string globalKeywords );
Parameters
| Parameters | Description |
|---|---|
| string keywords | Input keywords |
| string globalKeywords | Input global keywords |
Links
PromptSelectionOptions Class, Autodesk.AutoCAD.EditorInput Namespace