SystemTarget.SetComponent<TComponent>(TComponent) 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.
Sets the provided value as the component for type TComponent
.
public void SetComponent<TComponent> (TComponent instance) where TComponent : class;
abstract member SetComponent : 'Component -> unit (requires 'Component : null)
override this.SetComponent : 'Component -> unit (requires 'Component : null)
Public Sub SetComponent(Of TComponent As Class) (instance As TComponent)
Type Parameters
- TComponent
The type used to lookup this component.
Parameters
- instance
- TComponent