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处的对象。

适用于