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!

ListItem.GetSubItemForeColor

Gets the specified subitem's foreground color. If a SubItem has not been defined for this index, the color information will be obtained correctly (though text will not be displayed in this color until an associated subitem text string has been defined).

[Visual Basic]
Overridable Public Function GetSubItemForeColor( _
   ByVal index As Integer _
) As Color
[C#]
public virtual Color GetSubItemForeColor(
   int index
);
[C++]
public: virtual Color GetSubItemForeColor(
   int index
);
[JScript]
public function GetSubItemForeColor(
   index : int
) : Color;

Parameters

index
the index of the subitem to query

Return Value

the foreground color of that subitem, or null if it will be displayed using the ListView's global foreground color.

See Also

ListItem Class | ListItem Members | System.WinForms Namespace