Table of Contents

Class SchemaHandle

Namespace
Secret.Internal
Assembly
Secret-1.dll
public abstract class SchemaHandle : SafeHandle, IDisposable, IEquatable<SchemaHandle>
Inheritance
SchemaHandle
Implements
Derived
Inherited Members

Constructors

SchemaHandle(bool)

protected SchemaHandle(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

bool

true if the handle value is invalid; otherwise, false.

Methods

Equals(SchemaHandle?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(SchemaHandle? other)

Parameters

other SchemaHandle

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetAttributes()

public SchemaAttributeData[] GetAttributes()

Returns

SchemaAttributeData[]

GetFlags()

public SchemaFlags GetFlags()

Returns

SchemaFlags

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

nint

OwnedCopy()

public SchemaOwnedHandle OwnedCopy()

Returns

SchemaOwnedHandle

SetAttributes(SchemaAttributeData[])

public void SetAttributes(SchemaAttributeData[] value)

Parameters

value SchemaAttributeData[]

SetFlags(SchemaFlags)

public void SetFlags(SchemaFlags value)

Parameters

value SchemaFlags

SetName(nint)

public void SetName(nint value)

Parameters

value nint

UnownedCopy()

public SchemaUnownedHandle UnownedCopy()

Returns

SchemaUnownedHandle