The methods of the ICodeElement interface are listed below. For a complete list of ICodeElement interface members, see the ICodeElement Members topic.
GetElements | Gets the collection of sub elements. |
GetLiteralText | Gets the literal text that this element contains. This is a string copy of the contents from the actual source file. |
Remove | Removes this element from the source file. This is equivalent to the user selecting the element and pressing delete. |
SetLiteralText | Sets the literal text that this element contains. This is a string copy to the contents of the actual source file. |
Show | Causes this element to be displayed in the text editor window. This will also move the caret to the correct location in this element. |
ICodeElement Interface | System.ComponentModel.Design.CodeModel Namespace