Class CompletionHandle
public abstract class CompletionHandle : SafeHandle, IDisposable
- Inheritance
-
CompletionHandle
- Implements
- Derived
- Inherited Members
Constructors
CompletionHandle(bool)
protected CompletionHandle(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(CompletionHandle?)
public bool Equals(CompletionHandle? other)
Parameters
otherCompletionHandle
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
GetCache()
public nint GetCache()
Returns
GetFunc()
public CompletionFunc GetFunc()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetItems()
public nint GetItems()
Returns
GetPrefix()
public nint GetPrefix()
Returns
GetStrncmpFunc()
public CompletionStrncmpFunc GetStrncmpFunc()
Returns
SetCache(nint)
public void SetCache(nint value)
Parameters
valuenint
SetFunc(CompletionFunc)
public void SetFunc(CompletionFunc value)
Parameters
valueCompletionFunc
SetItems(nint)
public void SetItems(nint value)
Parameters
valuenint
SetPrefix(nint)
public void SetPrefix(nint value)
Parameters
valuenint
SetStrncmpFunc(CompletionStrncmpFunc)
public void SetStrncmpFunc(CompletionStrncmpFunc value)
Parameters
valueCompletionStrncmpFunc