Table of Contents

Struct BOOL

Namespace
Windows.Win32.Foundation
Assembly
Ecng.Interop.dll
public readonly struct BOOL : IEquatable<BOOL>
Implements
Inherited Members
Extension Methods

Constructors

BOOL(bool)

public BOOL(bool value)

Parameters

value bool

BOOL(int)

public BOOL(int value)

Parameters

value int

Fields

Value

public readonly int Value

Field Value

int

Methods

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

Equals(BOOL)

public bool Equals(BOOL other)

Parameters

other BOOL

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BOOL, BOOL)

public static bool operator ==(BOOL left, BOOL right)

Parameters

left BOOL
right BOOL

Returns

bool

explicit operator BOOL(int)

public static explicit operator BOOL(int value)

Parameters

value int

Returns

BOOL

implicit operator BOOL(bool)

public static implicit operator BOOL(bool value)

Parameters

value bool

Returns

BOOL

implicit operator bool(BOOL)

public static implicit operator bool(BOOL value)

Parameters

value BOOL

Returns

bool

implicit operator int(BOOL)

public static implicit operator int(BOOL value)

Parameters

value BOOL

Returns

int

operator !=(BOOL, BOOL)

public static bool operator !=(BOOL left, BOOL right)

Parameters

left BOOL
right BOOL

Returns

bool