Struct IccProfileId
ICC Profile ID
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Metadata.Profiles.Icc
Assembly: SixLabors.ImageSharp.dll
Syntax
public readonly struct IccProfileId : IEquatable<IccProfileId>Constructors
| Improve this Doc View SourceIccProfileId(UInt32, UInt32, UInt32, UInt32)
Initializes a new instance of the IccProfileId struct.
Declaration
public IccProfileId(uint p1, uint p2, uint p3, uint p4)Parameters
| Type | Name | Description | 
|---|---|---|
| UInt32 | p1 | Part 1 of the ID | 
| UInt32 | p2 | Part 2 of the ID | 
| UInt32 | p3 | Part 3 of the ID | 
| UInt32 | p4 | Part 4 of the ID | 
Fields
| Improve this Doc View SourceZero
A profile ID with all values set to zero
Declaration
public static readonly IccProfileId ZeroField Value
| Type | Description | 
|---|---|
| IccProfileId | 
Properties
| Improve this Doc View SourceIsSet
Gets a value indicating whether the ID is set or just consists of zeros.
Declaration
public readonly bool IsSet { get; }Property Value
| Type | Description | 
|---|---|
| Boolean | 
Part1
Gets the first part of the ID.
Declaration
public readonly uint Part1 { get; }Property Value
| Type | Description | 
|---|---|
| UInt32 | 
Part2
Gets the second part of the ID.
Declaration
public readonly uint Part2 { get; }Property Value
| Type | Description | 
|---|---|
| UInt32 | 
Part3
Gets the third part of the ID.
Declaration
public readonly uint Part3 { get; }Property Value
| Type | Description | 
|---|---|
| UInt32 | 
Part4
Gets the fourth part of the ID.
Declaration
public readonly uint Part4 { get; }Property Value
| Type | Description | 
|---|---|
| UInt32 | 
Methods
| Improve this Doc View SourceEquals(IccProfileId)
Declaration
public readonly bool Equals(IccProfileId other)Parameters
| Type | Name | Description | 
|---|---|---|
| IccProfileId | other | 
Returns
| Type | Description | 
|---|---|
| Boolean | 
Equals(Object)
Declaration
public override readonly bool Equals(object obj)Parameters
| Type | Name | Description | 
|---|---|---|
| Object | obj | 
Returns
| Type | Description | 
|---|---|
| Boolean | 
Overrides
| Improve this Doc View SourceGetHashCode()
Declaration
public override readonly int GetHashCode()Returns
| Type | Description | 
|---|---|
| Int32 | 
Overrides
| Improve this Doc View SourceToString()
Declaration
public override readonly string ToString()Returns
| Type | Description | 
|---|---|
| String | 
Overrides
Operators
| Improve this Doc View SourceEquality(IccProfileId, IccProfileId)
Compares two IccProfileId objects for equality.
Declaration
public static bool operator ==(IccProfileId left, IccProfileId right)Parameters
| Type | Name | Description | 
|---|---|---|
| IccProfileId | left | The IccProfileId on the left side of the operand. | 
| IccProfileId | right | The IccProfileId on the right side of the operand. | 
Returns
| Type | Description | 
|---|---|
| Boolean | True if the  | 
Inequality(IccProfileId, IccProfileId)
Compares two IccProfileId objects for equality.
Declaration
public static bool operator !=(IccProfileId left, IccProfileId right)Parameters
| Type | Name | Description | 
|---|---|---|
| IccProfileId | left | The IccProfileId on the left side of the operand. | 
| IccProfileId | right | The IccProfileId on the right side of the operand. | 
Returns
| Type | Description | 
|---|---|
| Boolean | True if the  |