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# |
---|
public virtual DataSize PreferredSize { get; set; } |
Visual Basic |
---|
Public Overridable Property PreferredSize As DataSize Get Set |
Visual C++ |
---|
public: virtual property DataSize PreferredSize { DataSize get (); void set (DataSize value); } |
Field Value
A member of the DataSize enumeration; or None to specify no size.Implements
IOperand..::..PreferredSize
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)
|