Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
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;}
Managed Extensions for C++ 
public: __property string* get_FileName();
public: __property void set_FileName( 
   string* value
);
C++/CLI 
public:
property String^ FileName {
   String^ get();
   void set (String^ value);
}

Return Value

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

Example

For an example, refer to 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 for example.

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