ProximitySensorDisplayOnOffController.Close Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Disconnects this ProximitySensorDisplayOnOffController instance from the service and frees all the allocated resources.
public:
virtual void Close() = Close;
void Close();
// This member is not implemented in C#
function close()
' This member is not implemented in VB.NET
Implements
M:Windows.Foundation.IClosable.Close
M:System.IDisposable.Close
Remarks
This method follows the same behavior as IClosable. This means that if you are using Microsoft Visual C++ or C# you should not call this method directly. Instead you should use delete or the Dispose method respectively. See IClosable for more details.