Share via


TensorBoolean.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 引進)

適用於