Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal image As BitmapSource, _ ByVal text As String _ ) |
Visual Basic (Usage) | ![]() |
---|---|
|
C# | |
---|---|
public ImageListItem( BitmapSource image, string text ) |
Managed Extensions for C++ | |
---|---|
public: ImageListItem( BitmapSource image, string* text ) |
C++/CLI | |
---|---|
public: ImageListItem( BitmapSource image, String^ text ) |
Parameters
- image
- An BitmapSource object that specifies the image to be displayed in the item.
- text
- The text to display for the item.
For C#/VB examples, refer to ImageList.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family