TensorInt16Bit.Close 方法

定义

如果没有从此对象创建的未完成 的 IMemoryBufferReference 对象, Close 将释放该对象并销毁其关联的资源。 否则, Close 将自身与其关联的资源分离,并在关闭最后一个 IMemoryBufferReference 时销毁它们。

public:
 virtual void Close() = Close;
void Close();
// This member is not implemented in C#
function close()
' This member is not implemented in VB.NET

实现

M:Windows.Foundation.IClosable.Close M:System.IDisposable.Close

Windows 要求

设备系列
Windows 10, version 1903 (在 10.0.18362.0 中引入)
API contract
Windows.AI.MachineLearning.MachineLearningContract (在 v2.0 中引入)

适用于