1 write to Value
System.Private.Windows.Core (1)
Windows.Win32.HENHMETAFILE.g.cs (1)
29
internal HENHMETAFILE(void* value) => this.
Value
= value;
10 references to Value
System.Drawing.Common.Tests (1)
System\Drawing\Imaging\MetafileTests.cs (1)
1033
Metafile metafile = new(henhmetafile: (nint)hemf.
Value
, deleteEmf: true);
System.Private.Windows.Core (9)
Windows.Win32.HENHMETAFILE.g.cs (9)
37
internal bool IsNull =>
Value
== default;
39
public static implicit operator void*(HENHMETAFILE value) => value.
Value
;
43
public static bool operator ==(HENHMETAFILE left, HENHMETAFILE right) => left.
Value
== right.
Value
;
47
public bool Equals(HENHMETAFILE other) => this.
Value
== other.
Value
;
51
public override int GetHashCode() => unchecked((int)this.
Value
);
53
public override string ToString() => $"0x{(nuint)this.
Value
:x}";
55
public static implicit operator IntPtr(HENHMETAFILE value) => new IntPtr(value.
Value
);