To More Generic Class function: Difference between revisions
Appearance
Started page |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
{{TOCright}} | {{TOCright}} | ||
{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Cluster, Class, and Variant{{!}}Cluster, Class, and Variant palette|type=function}} | {{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Cluster, Class, and Variant{{!}}Cluster, Class, and Variant palette|type=function|icon=Cluster, Class, & Variant Palette - To More Generic Class.png}} | ||
The '''To More Generic Class''' function typecasts a reference, such as a control or a type definition, to a more generic class in the inheritance hierarchy. | The '''To More Generic Class''' function typecasts a reference, such as a control or a type definition, to a more generic class in the inheritance hierarchy. | ||
| Line 30: | Line 30: | ||
{{ambox|text=Add links to external resources that would also help.}} | {{ambox|text=Add links to external resources that would also help.}} | ||
[[Category:Cluster, Class | [[Category:Cluster, Class and Variant Palette]] | ||
Latest revision as of 20:13, 29 June 2020
| |
This article is a stub. You can help LabVIEW Wiki by expanding it. Please improve this article if you can. |
| Object information | |
|---|---|
| Owning palette(s) | Cluster, Class, and Variant palette |
| Type | Function |
| Requires | Basic Development Environment |
| Icon | |
The To More Generic Class function typecasts a reference, such as a control or a type definition, to a more generic class in the inheritance hierarchy.
For example, if Class A inherits from Class B, the function upcasts a variable of type A to a variable of type B.
You can use the To More Generic Class function for casting any class hierarchy in LabVIEW, including VI Server refnums, .NET/ActiveX refnums, and LabVIEW Classes.
Usage
| |
Specific use cases for this function. |
Best practice
| |
Add other best practices for this function. |
History
| |
History information is needed. What changes have occurred over previous versions? |
| Version | Change(s) |
|---|---|
| More info to come. |
See Also
| |
Add links to internal wiki pages that would also help. |
External Links
| |
Add links to external resources that would also help. |