共用方式為


INSCoding 介面

定義

介面,表示通訊協定 NSCoding 的任何) 時, (所需的方法。

[Foundation.Protocol(Name="NSCoding", WrapperType=typeof(Foundation.NSCodingWrapper))]
public interface INSCoding : IDisposable, ObjCRuntime.INativeObject
type INSCoding = interface
    interface INativeObject
    interface IDisposable
衍生
屬性
實作

備註

如果從 所 NSCoding 定義的通訊協定有任何) ,這個介面會包含必要的方法 (。

如果開發人員建立實作此介面的類別,則實作方法會自動匯出至 Objective-C,其中包含通訊協定中所定義方法的 NSCoding 相符簽章。

如果類別提供任何) 做為介面的擴充方法,選擇性方法 (,讓開發人員可以在通訊協定上叫用任何選擇性方法。

屬性

Handle

處理 unmanaged 物件標記法) (指標。

(繼承來源 INativeObject)

方法

EncodeTo(NSCoder)

序列化 this 為 。

適用於