MDLObject.SetComponent 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
SetComponent(IMDLComponent, Protocol) |
Associates |
SetComponent(IMDLComponent, Type) |
Makes |
SetComponent(IMDLComponent, Protocol)
Associates component
with this MDLOBject for the specified protocol.
[Foundation.Export("setComponent:forProtocol:")]
public virtual void SetComponent (ModelIO.IMDLComponent component, ObjCRuntime.Protocol protocol);
abstract member SetComponent : ModelIO.IMDLComponent * ObjCRuntime.Protocol -> unit
override this.SetComponent : ModelIO.IMDLComponent * ObjCRuntime.Protocol -> unit
Parameters
- component
- IMDLComponent
The component to associate with a protocol.
- protocol
- Protocol
The protocol to associate with the component.
- Attributes
Applies to
SetComponent(IMDLComponent, Type)
Makes component
the object to provide for the specified type
.
public void SetComponent (ModelIO.IMDLComponent component, Type type);
member this.SetComponent : ModelIO.IMDLComponent * Type -> unit
Parameters
- component
- IMDLComponent
The component to associate with a type.
- type
- Type
The type to associate with the component.