Skip to main content

ObjectType

Namespace: IotaSdk

Type of an IOTA object

public class ObjectType : IObjectType, System.IEquatable`1[[IotaSdk.ObjectType, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IDisposable

Inheritance Object → ObjectType
Implements IObjectType, IEquatable<ObjectType>, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors​

ObjectType(UInt64)​

public ObjectType(ulong pointer)

Parameters​

pointer UInt64

Methods​

Destroy()​

public void Destroy()

Dispose()​

public void Dispose()

AsOptStruct()​

public StructTag? AsOptStruct()

Returns​

StructTag?

AsStruct()​

public StructTag AsStruct()

Returns​

StructTag

IsPackage()​

public bool IsPackage()

Returns​

Boolean

IsStruct()​

public bool IsStruct()

Returns​

Boolean

ToString()​

public override string ToString()

Returns​

String

Equals(ObjectType)​

public bool Equals(ObjectType? other)

Parameters​

other ObjectType?

Returns​

Boolean

Equals(Object)​

public override bool Equals(object? obj)

Parameters​

obj Object?

Returns​

Boolean

NewPackage()​

public static ObjectType NewPackage()

Returns​

ObjectType

NewStruct(StructTag)​

public static ObjectType NewStruct(StructTag structTag)

Parameters​

structTag StructTag

Returns​

ObjectType