Struct ArchiveProperty
Archive property struct.
Inherited Members
Namespace: SharpSevenZip
Assembly: SharpSevenZip.dll
Syntax
public struct ArchiveProperty
Properties
| Edit this page View SourceName
Gets the name of the archive property.
Declaration
public readonly string Name { get; }
Property Value
Type | Description |
---|---|
string |
Value
Gets the value of the archive property.
Declaration
public readonly object? Value { get; }
Property Value
Type | Description |
---|---|
object |
Methods
| Edit this page View SourceEquals(ArchiveProperty)
Determines whether the specified ArchiveProperty is equal to the current ArchiveProperty.
Declaration
public readonly bool Equals(ArchiveProperty afi)
Parameters
Type | Name | Description |
---|---|---|
ArchiveProperty | afi | The ArchiveProperty to compare with the current ArchiveProperty. |
Returns
Type | Description |
---|---|
bool | true if the specified ArchiveProperty is equal to the current ArchiveProperty; otherwise, false. |
Equals(object?)
Determines whether the specified System.Object is equal to the current ArchiveProperty.
Declaration
public override readonly bool Equals(object? obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The System.Object to compare with the current ArchiveProperty. |
Returns
Type | Description |
---|---|
bool | true if the specified System.Object is equal to the current ArchiveProperty; otherwise, false. |
Overrides
| Edit this page View SourceGetHashCode()
Serves as a hash function for a particular type.
Declaration
public override readonly int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current ArchiveProperty. |
Overrides
| Edit this page View SourceToString()
Returns a System.String that represents the current ArchiveProperty.
Declaration
public override readonly string ToString()
Returns
Type | Description |
---|---|
string | A System.String that represents the current ArchiveProperty. |
Overrides
Operators
| Edit this page View Sourceoperator ==(ArchiveProperty, ArchiveProperty)
Determines whether the specified ArchiveProperty instances are considered equal.
Declaration
public static bool operator ==(ArchiveProperty afi1, ArchiveProperty afi2)
Parameters
Type | Name | Description |
---|---|---|
ArchiveProperty | afi1 | The first ArchiveProperty to compare. |
ArchiveProperty | afi2 | The second ArchiveProperty to compare. |
Returns
Type | Description |
---|---|
bool | true if the specified ArchiveProperty instances are considered equal; otherwise, false. |
operator !=(ArchiveProperty, ArchiveProperty)
Determines whether the specified ArchiveProperty instances are not considered equal.
Declaration
public static bool operator !=(ArchiveProperty afi1, ArchiveProperty afi2)
Parameters
Type | Name | Description |
---|---|---|
ArchiveProperty | afi1 | The first ArchiveProperty to compare. |
ArchiveProperty | afi2 | The second ArchiveProperty to compare. |
Returns
Type | Description |
---|---|
bool | true if the specified ArchiveProperty instances are not considered equal; otherwise, false. |