Gets or sets the size of the emitted data.
Namespace: SharpAssembler.Core.InstructionsAssembly: SharpAssembler Core (in SharpAssembler Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public DataSize Size { get; set; } |
| Visual Basic |
|---|
Public Property Size As DataSize Get Set |
| Visual C++ |
|---|
public: property DataSize Size { DataSize get (); void set (DataSize value); } |
Field Value
A member of the DataSize enumeration.
Exceptions
| Exception | Condition |
|---|---|
| System.ComponentModel..::..InvalidEnumArgumentException | !(Enum.IsDefined(typeof(DataSize), value)) |
| System..::..ArgumentException | value == DataSize.None |
Contracts
Get
| Ensures |
|---|
Enum.IsDefined(typeof(DataSize), Contract.Result<DataSize>()) |
Contract.Result<DataSize>() != DataSize.None |
Set
| Requires | ||
|---|---|---|
Enum.IsDefined(typeof(DataSize), value) | ||
value != DataSize.None
|