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!

ICodeMethodInvokeExpression.SetTarget

Sets the target of the method invoke.

[Visual Basic]
Sub SetTarget( _
   ByVal value() As String _
)
[C#]
void SetTarget(
   string[] value
);
[C++]
void SetTarget(
   String* value[]
) = 0;
[JScript]
function SetTarget(
   value : String[]
);

Parameters

value
The new target for the method invoke expression.

Remarks

Undone. This is currently a string array to support invoking methods on sub objects (i.e. "Foo.Bar.DoSomething(...)"), however in the long term we need a better solution.

See Also

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