Class AttrIntHandle
public abstract class AttrIntHandle : SafeHandle, IDisposable
- Inheritance
-
AttrIntHandle
- Implements
- Derived
- Inherited Members
Constructors
AttrIntHandle(bool)
protected AttrIntHandle(bool ownsHandle)
Parameters
ownsHandlebool
Properties
IsInvalid
When overridden in a derived class, gets a value indicating whether the handle value is invalid.
public override sealed bool IsInvalid { get; }
Property Value
Methods
Equals(AttrIntHandle?)
public bool Equals(AttrIntHandle? other)
Parameters
otherAttrIntHandle
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetAttr()
public AttributeData GetAttr()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetValue()
public int GetValue()
Returns
SetAttr(AttributeData)
public void SetAttr(AttributeData value)
Parameters
valueAttributeData
SetValue(int)
public void SetValue(int value)
Parameters
valueint