MDLObject.GetComponent MDLObject.GetComponent Method

Definition

Overloads

GetComponent(Protocol) GetComponent(Protocol)

Gets this object's component that conforms to protocol.

GetComponent(Type) GetComponent(Type)

Gets this object's component that matches the supplied type.

GetComponent(Protocol) GetComponent(Protocol)

Gets this object's component that conforms to protocol.

public ModelIO.IMDLComponent GetComponent (ObjCRuntime.Protocol protocol);
member this.GetComponent : ObjCRuntime.Protocol -> ModelIO.IMDLComponent

Parameters

protocol
Protocol Protocol

The protocol for which to get the component.

Returns

GetComponent(Type) GetComponent(Type)

Gets this object's component that matches the supplied type.

public ModelIO.IMDLComponent GetComponent (Type type);
member this.GetComponent : Type -> ModelIO.IMDLComponent

Parameters

type
Type Type

The type to filter by.

Returns

Applies to