Gets or sets the preferred size of the operand.
Namespace: SharpAssembler.x86.OperandsAssembly: SharpAssembler x86-64 (in SharpAssembler x86-64.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
DataSize PreferredSize { get; set; } |
| Visual Basic |
|---|
Property PreferredSize As DataSize Get Set |
| Visual C++ |
|---|
property DataSize PreferredSize { DataSize get (); void set (DataSize value); } |
Field Value
A member of the DataSize enumeration; or None to specify no size.
Exceptions
| Exception | Condition |
|---|---|
| System.ComponentModel..::..InvalidEnumArgumentException | !(Enum.IsDefined(typeof(DataSize), value)) |
Contracts
Get
| Ensures |
|---|
Enum.IsDefined(typeof(DataSize), Contract.Result<DataSize>()) |
Set
| Requires |
|---|
Enum.IsDefined(typeof(DataSize), value) |