CGEvent.SetValueField Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| SetValueField(CGEventField, Double) |
Set a double value for the specified event field. |
| SetValueField(CGEventField, Int64) |
Set a 64-bit integer value for the specified event field. |
SetValueField(CGEventField, Double)
Set a double value for the specified event field.
public void SetValueField(CoreGraphics.CGEventField field, double value);
member this.SetValueField : CoreGraphics.CGEventField * double -> unit
Parameters
- field
- CGEventField
The field whose value to set.
- value
- Double
The value to set.
Applies to
SetValueField(CGEventField, Int64)
Set a 64-bit integer value for the specified event field.
public void SetValueField(CoreGraphics.CGEventField field, long value);
member this.SetValueField : CoreGraphics.CGEventField * int64 -> unit
Parameters
- field
- CGEventField
The field whose value to set.
- value
- Int64
The value to set.