Skip to main content

PlatformHandle Class

Represents a platform-specific handle.

Definition​

Namespace: Avalonia.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public class PlatformHandle : IPlatformHandle, 
IEquatable<PlatformHandle>
View Source
InheritanceObject → PlatformHandle
DerivedAvalonia.Android.AndroidViewControlHandle
Avalonia.Browser.JSObjectPlatformHandle
Avalonia.iOS.UIViewControlHandle
ImplementsIPlatformHandle, IEquatable(PlatformHandle)

Constructors​

PlatformHandle(IntPtr, String)Initializes a new instance of the PlatformHandle class.

Properties​

HandleGets the handle.
HandleDescriptorGets an optional string that describes what Handle represents.

Methods​

Equals(Object)Determines whether the specified object is equal to the current object.
(Overrides Object.Equals(Object))
Equals(PlatformHandle)Indicates whether the current object is equal to another object of the same type.
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Overrides Object.GetHashCode())
GetType()Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
ToString()Returns a string that represents the current object.
(Overrides Object.ToString())

Operators​

Equality(PlatformHandle, PlatformHandle) 
Inequality(PlatformHandle, PlatformHandle) 

See Also​

Reference​

Avalonia.Platform Namespace