public struct FourCC : IEquatable<FourCC>
Constructors
Declaration
public FourCC(char a, char b = ' ', char c = ' ', char d = ' ')
Parameters
Type |
Name |
Description |
System.Char |
a |
|
System.Char |
b |
|
System.Char |
c |
|
System.Char |
d |
|
Declaration
Parameters
Type |
Name |
Description |
System.Int32 |
code |
|
Declaration
public FourCC(string str)
Parameters
Type |
Name |
Description |
System.String |
str |
|
Methods
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
Declaration
public bool Equals(FourCC other)
Parameters
Type |
Name |
Description |
FourCC |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static FourCC FromInt32(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
Declaration
public static int ToInt32(FourCC fourCC)
Parameters
Type |
Name |
Description |
FourCC |
fourCC |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Operators
Declaration
public static bool operator ==(FourCC left, FourCC right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static implicit operator FourCC(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Declaration
public static implicit operator int (FourCC fourCC)
Parameters
Type |
Name |
Description |
FourCC |
fourCC |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
public static bool operator !=(FourCC left, FourCC right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Extension Methods