Gets the statements inside of the method. The CodeSense APIs only support parsing and generating a small number of statements and expressions. The only supported statements are:
Each statment can have various expressions, the documentation for ICodeSourceFile details the various expressions.
[Visual Basic] Function GetStatements() As ICodeStatements [C#] ICodeStatements GetStatements(); [C++] ICodeStatements* GetStatements() = 0; [JScript] function GetStatements() : ICodeStatements;
An ICodeStatements object representing the statements inside of the method.
ICodeMethod Interface | ICodeMethod Members | System.ComponentModel.Design.CodeModel Namespace | ICodeSourceFile | System.ComponentModel.Design.CodeModel.ICodeSatatement