Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
FileName Property
See Also 
Leadtools.WinForms Namespace > RasterImageListItem Class : FileName Property



Gets or sets the file name of the item.

Syntax

Visual Basic (Declaration) 
Public Property FileName As String
Visual Basic (Usage)Copy Code
Dim instance As RasterImageListItem
Dim value As String
 
instance.FileName = value
 
value = instance.FileName
C# 
public string FileName {get; set;}
C++/CLI 
public:
property String^ FileName {
   String^ get();
   void set (String^ value);
}

Return Value

The file name associated with this RasterImageListItem object. The default value is null (Nothing in Visual Basic).

Example

For an example, refer to RasterImageListItem.Image.

Remarks

The RasterThumbnailBrowser class uses this property to store the fully qualified file name for the items added as a result of calling RasterThumbnailBrowser.LoadThumbnails

The RasterImageList class does not use this property. However, you can use this property to set and get the file name when items are selected.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also