NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ICodeMethod.GetStatements

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;

Return Value

An ICodeStatements object representing the statements inside of the method.

See Also

ICodeMethod Interface | ICodeMethod Members | System.ComponentModel.Design.CodeModel Namespace | ICodeSourceFile | System.ComponentModel.Design.CodeModel.ICodeSatatement