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!

CodeIfStatement Constructor (CodeExpression, CodeStatement[], CodeStatement[])

Initializes a new instance of CodeIfStatement that can represent an if.. else statement.

[Visual Basic]
Overloads Public Sub New( _
   ByVal condition As CodeExpression, _
   ByVal trueStatements() As CodeStatement, _
   ByVal falseStatements() As CodeStatement _
)
[C#]
public CodeIfStatement(
   CodeExpression condition,
   CodeStatement[] trueStatements,
   CodeStatement[] falseStatements
);
[C++]
public: CodeIfStatement(
   CodeExpression* condition,
   CodeStatement* trueStatements[],
   CodeStatement* falseStatements[]
);
[JScript]
public function CodeIfStatement(
   condition : CodeExpression,
   trueStatements : CodeStatement[],
   falseStatements : CodeStatement[]
);

Parameters

condition
A CodeExpression that indicates the condition to test for.
trueStatements
[To be supplied.]
falseStatements
[To be supplied.]

See Also

CodeIfStatement Class | CodeIfStatement Members | System.CodeDOM Namespace | CodeIfStatement Constructor Overload List | CodeExpression | CodeStatement