Aracılığıyla paylaş


AttachableInputObject Class

Definition

Base class for an InputActivationListener object associated with a window, view, or other visual element.

public ref class AttachableInputObject : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AttachableInputObject : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class AttachableInputObject : System.IDisposable
Public Class AttachableInputObject
Implements IDisposable
Inheritance
Object Platform::Object IInspectable AttachableInputObject
Derived
Attributes
Implements

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Remarks

This class does not have a constructor, or any properties, methods, and events.

This class derives from Windows.Foundation.IClosable, which has a Close method that is invoked internally upon the object's destruction, releasing the object's resources and rendering it invalid.

Do not invoke the Close method directly, just destroy the object according to the language being used.

Methods

Close()

Terminates the AttachableInputObject instance.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Applies to

See also