Message.GetLParam(Type) Method
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.
Gets the LParam value and converts the value to an object.
public:
System::Object ^ GetLParam(Type ^ cls);
public object GetLParam(Type cls);
public object? GetLParam(Type cls);
public readonly object? GetLParam(Type cls);
member this.GetLParam : Type -> obj
Public Function GetLParam (cls As Type) As Object
- cls
- Type
The type to use to create an instance. This type must be declared as a structure type.
An Object that represents an instance of the class specified by the cls
parameter, with the data from the LParam field of the message.
Use the GetLParam method to retrieve information from the LParam field of a message and convert it to an object. You can use this method to access objects passed in a message.
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: