MDLObject.GetComponent Method

Definition

Overloads

GetComponent(Protocol)

Gets this object's component that conforms to protocol.

GetComponent(Type)

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

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

The protocol for which to get the component.

Returns

Applies to

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

The type to filter by.

Returns

Applies to