# EntitySex

Sex as encoded by a scheme. Review signatures, members, parameters, type relationships, and available reference details in OfficeIMO.Core API Reference.

Enum 

`OfficeIMO.Entities`

**Namespace**

`OfficeIMO.Entities`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[EntitySex.cs:4](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntitySex.cs#L4)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Sex as encoded by a scheme.

## Inheritance

- Enum
- EntitySex

## Usage

Explore 4 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 3

- Property [EntityDetails.Sex](/api/core/officeimo-entities-entitydetails/#property-sex)
- Field [EntitySex.Female](/api/core/officeimo-entities-entitysex/#field-female)
- Field [EntitySex.Male](/api/core/officeimo-entities-entitysex/#field-male)

### Accepted by parameters 1

- Constructor [EntityDetails.EntityDetails](/api/core/officeimo-entities-entitydetails/#constructor-ctor-nullable-system-datetime-nullable-officeimo-entities-entitysex-string-string-collections-generic-ireadonlydictionary-system-string-system-string) parameter `sex`

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

`public override bool Equals(object? obj)` [#](#method-equals-object)

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

`public override int GetHashCode()` [#](#method-gethashcode)

Inherited from Enum

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

`public override string ToString()` [#](#method-tostring)

Inherited from Enum

Returns

`string`

`public string ToString(string? format)` [#](#method-tostring-string)

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const EntitySex Female` [#](#field-female)

[EntitySex.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntitySex.cs#L6)

The value encodes female.

Value: `0`

`public const EntitySex Male` [#](#field-male)

[EntitySex.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntitySex.cs#L8)

The value encodes male.

Value: `1`

<!-- PowerForge markdown artifact sha256:73F2D376CD351F9BF3D2B36D5BB0783C51DAA424C55BC174D8C90D05A3668551 -->
