MDLObject.GetComponent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetComponent(Protocol) |
Gets this object's component that conforms to |
GetComponent(Type) |
Gets this object's component that matches the supplied |
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.