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!

ICodeElements.SetItemAt

Sets the item at the specified index.

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

Parameters

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

See Also

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