Gets or sets the name of the object file.

Namespace: SharpAssembler.Core
Assembly: SharpAssembler Core (in SharpAssembler Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

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

Field Value

The name of the object file.

Implements

IFile..::..Name

Remarks

There are no restrictions on the names which are allowed. Implementations using this property should ensure that the name conforms to any restrictions which may apply, such as file naming restrictions.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionvalue == null

Contracts

Get

Ensures
Contract.Result<string>() != null
Contract.Result<string>() != null
Inherited From: IFile
Contract.Result<string>().Length > 0
Inherited From: IFile

Set

Requires
value != null

See Also