Class StaticPadTemplateHandle
public abstract class StaticPadTemplateHandle : SafeHandle, IDisposable, IEquatable<StaticPadTemplateHandle>
- Inheritance
-
StaticPadTemplateHandle
- Implements
- Derived
- Inherited Members
Constructors
StaticPadTemplateHandle(bool)
protected StaticPadTemplateHandle(bool ownsHandle)
Parameters
ownsHandle
bool
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(StaticPadTemplateHandle?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(StaticPadTemplateHandle? other)
Parameters
other
StaticPadTemplateHandleAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetDirection()
public PadDirection GetDirection()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetNameTemplate()
public nint GetNameTemplate()
Returns
GetPresence()
public PadPresence GetPresence()
Returns
GetStaticCaps()
public StaticCapsData GetStaticCaps()
Returns
OwnedCopy()
public StaticPadTemplateOwnedHandle OwnedCopy()
Returns
SetDirection(PadDirection)
public void SetDirection(PadDirection value)
Parameters
value
PadDirection
SetNameTemplate(nint)
public void SetNameTemplate(nint value)
Parameters
value
nint
SetPresence(PadPresence)
public void SetPresence(PadPresence value)
Parameters
value
PadPresence
SetStaticCaps(StaticCapsData)
public void SetStaticCaps(StaticCapsData value)
Parameters
value
StaticCapsData
UnownedCopy()
public StaticPadTemplateUnownedHandle UnownedCopy()