共用方式為


IMDLObjectContainerComponent 介面

定義

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

[Foundation.Protocol(Name="MDLObjectContainerComponent", WrapperType=typeof(ModelIO.MDLObjectContainerComponentWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IMDLObjectContainerComponent : IDisposable, ModelIO.IMDLComponent
type IMDLObjectContainerComponent = interface
    interface INativeObject
    interface IDisposable
    interface IMDLComponent
衍生
屬性
實作

備註

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

如果您建立實作此介面的物件,實作方法會自動匯出至 Objective-C,其中包含通訊協定中所定義方法的 IMDLObjectContainerComponent 相符簽章。

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

屬性

Handle

處理非受控物件標記法) (指標。

(繼承來源 INativeObject)
Objects

取得屬於這個 IMDLObjectContainerComponent 的物件清單。

方法

AddObject(MDLObject)

將 新增 object 至這個 IMDLObjectContainerComponent 所包含的物件清單。

RemoveObject(MDLObject)

object從這個 IMDLObjectContainerComponent 所包含的物件清單中移除。

擴充方法

GetCount(IMDLObjectContainerComponent)

取得容器中的 物件數目。

GetObject(IMDLObjectContainerComponent, nuint)

傳回位於指定 index 之 的 物件。

適用於