TextTaskItem.Image Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the image that is associated with the task item.
public:
property System::Object ^ Image { System::Object ^ get(); };
public object Image { get; }
member this.Image : obj
Public ReadOnly Property Image As Object
Property Value
The image object that is associated with the task item.
Examples
The following example searches the task list array for TextTaskItem objects that have an image.
foreach (TaskItem item in items) {
if (item is TextTaskItem) {
TextTaskItem tti = (TextTaskItem)item;
if (tti.Image != null)
DisplayImg(tti.Image);
}
}