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!

TabStrip.SetSelectedTab

Sets the selection to the first tab named text. The return value is the index of the tab that is selected, or-1 if no tab was selected.

[Visual Basic]
Public Function SetSelectedTab( _
   ByVal text As String _
) As Integer
[C#]
public int SetSelectedTab(
   string text
);
[C++]
public: int SetSelectedTab(
   String* text
);
[JScript]
public function SetSelectedTab(
   text : String
) : int;

Parameters

text
Name of tab to select.

Return Value

index Index of selected tab.

See Also

TabStrip Class | TabStrip Members | System.WinForms Namespace