Gets or sets the name of the file, including the file extension.

Namespace:  BargeEx
Assembly:  BargeEx (in BargeEx.dll)
Version: 3.0.400.140 (3.0.400.140)

Syntax

C#
public virtual string Name { get; set; }
Visual Basic (Declaration)
Public Overridable Property Name As String
Visual C++
public:
virtual property String^ Name {
	String^ get ();
	void set (String^ value);
}

Property Value

The name of the file, including the file extension. The default is a null reference (Nothing in Visual Basic).

Remarks

This should not include any path information. For example, a file named "C:\Temp\MEM1023.jpg" would use "MEM1023.jpg" for Name.

The NameSpecified property indicates whether or not this property will be included in the serialized class or generated document. The NameSpecified property is automatically set to true when this property is set.

See Also