Class SchemaHandle
public abstract class SchemaHandle : SafeHandle, IDisposable, IEquatable<SchemaHandle>
- Inheritance
-
SchemaHandle
- Implements
- Derived
- Inherited Members
Constructors
SchemaHandle(bool)
protected SchemaHandle(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(SchemaHandle?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(SchemaHandle? other)
Parameters
otherSchemaHandleAn 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
objobjectThe object to compare with the current object.
Returns
GetAttributes()
public SchemaAttributeData[] GetAttributes()
Returns
GetFlags()
public SchemaFlags GetFlags()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetName()
public nint GetName()
Returns
OwnedCopy()
public SchemaOwnedHandle OwnedCopy()
Returns
SetAttributes(SchemaAttributeData[])
public void SetAttributes(SchemaAttributeData[] value)
Parameters
valueSchemaAttributeData[]
SetFlags(SchemaFlags)
public void SetFlags(SchemaFlags value)
Parameters
valueSchemaFlags
SetName(nint)
public void SetName(nint value)
Parameters
valuenint
UnownedCopy()
public SchemaUnownedHandle UnownedCopy()