共用方式為


IWpfReferencedObject::Release 方法

遞減 IWpfReferencedObject 介面的參考計數。

語法

virtual ULONG Release (  
   VOID  
) = 0;  

參數

此方法不會採用任何參數。

傳回值

ULONG 包含更新的參考計數。

規格需求

類型 描述
Client - Windows Vista 上的 IIS 7.0
- Windows 7 上的 IIS 7.5
- IIS Express Windows XP、Windows Vista、Windows 7 上的 7.5
- Windows 8 用戶端上的 IIS 8.0
伺服器 - Windows Vista 上的 IIS 7.0
- Windows 7 上的 IIS 7.5
- Windows 8 上的 IIS 8.0
- Windows 10上的 IIS 10.0
伺服器 - Windows Server 2008 上的 IIS 7.0
- Windows Server 2008 R2 上的 IIS 7.5
- Windows Server 2012 上的 IIS 8.0
- Windows Server 2012 R2 上的 IIS 8.5
- Windows Server 2016上的 IIS 10.0
產品 - IIS 7.0、IIS 7.5、IIS 8.0、IIS 8.5、IIS 10.0
- IIS Express 7.5、IIS Express 8.0、IIS Express 10.0
標頭 Wpframework.h

另請參閱

IWpfReferencedObject 介面
IWpfReferencedObject::AddRef 方法