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!

ICodeStatements.SetItemAt

Sets the item at the specified index.

[Visual Basic]
Sub SetItemAt( _
   ByVal index As Integer, _
   ByVal value As ICodeStatement _
)
[C#]
void SetItemAt(
   int index,
   ICodeStatement value
);
[C++]
void SetItemAt(
   int index,
   ICodeStatement* value
) = 0;
[JScript]
function SetItemAt(
   index : int,
   value : ICodeStatement
);

Parameters

index
The index of the item to replace.
value
The statement to replace the existing statement with.

See Also

ICodeStatements Interface | ICodeStatements Members | System.ComponentModel.Design.CodeModel Namespace