PlatformHandle Class
Definition
Represents a platform-specific handle.
public class PlatformHandle
Constructors
| Name | Description |
|---|---|
| PlatformHandle | Initializes a new instance of the Avalonia.Platform.PlatformHandle class. |
PlatformHandle Constructor
Initializes a new instance of the Avalonia.Platform.PlatformHandle class.
public PlatformHandle(IntPtr handle, string descriptor)
Parameters
handle IntPtr
The handle.
descriptor string
An optional string that describes what handle represents.
Methods
| Name | Description |
|---|---|
| Equals (2 overloads) | No summary available. |
| GetHashCode | No summary available. |
| ToString | No summary available. |
Equals overloads
Equals Method
public bool Equals(Avalonia.Platform.PlatformHandle other)
Parameters
other Avalonia.Platform.PlatformHandle
Returns
bool
Equals Method
public bool Equals(object obj)
Parameters
obj object
Returns
bool
GetHashCode Method
public int GetHashCode()
Returns
int
ToString Method
public string ToString()
Returns
string
Properties
| Name | Description |
|---|---|
| Handle | Gets the handle. |
| HandleDescriptor | Gets an optional string that describes what Avalonia.Platform.PlatformHandle.Handle represents. |
Handle Property
Gets the handle.
public IntPtr Handle { get; set; }
HandleDescriptor Property
Gets an optional string that describes what Avalonia.Platform.PlatformHandle.Handle represents.
public string HandleDescriptor { get; set; }