WindowsRuntimeMarshal Class
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.
Provides helper methods for marshaling data between the .NET Framework and the Windows Runtime.
This API supports the product infrastructure and is not intended to be used directly from your code.
public ref class WindowsRuntimeMarshal abstract sealed
public static class WindowsRuntimeMarshal
type WindowsRuntimeMarshal = class
Public Class WindowsRuntimeMarshal
- Inheritance
-
WindowsRuntimeMarshal
Add |
This API supports the product infrastructure and is not intended to be used directly from your code. Adds the specified event handler to a Windows Runtime event. |
Free |
This API supports the product infrastructure and is not intended to be used directly from your code. Frees the specified Windows RuntimeHSTRING. |
Get |
This API supports the product infrastructure and is not intended to be used directly from your code. Returns an object that implements the activation factory interface for the specified Windows Runtime type. |
Ptr |
This API supports the product infrastructure and is not intended to be used directly from your code. Returns a managed string that contains a copy of the specified Windows RuntimeHSTRING. |
Remove |
This API supports the product infrastructure and is not intended to be used directly from your code. Removes all the event handlers that can be removed by using the specified method. |
Remove |
This API supports the product infrastructure and is not intended to be used directly from your code. Removes the specified event handler from a Windows Runtime event. |
String |
This API supports the product infrastructure and is not intended to be used directly from your code. Allocates a Windows RuntimeHSTRING and copies the specified managed string to it. |
Produkt | Versjoner |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1 |
.NET Framework | 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 |
UWP | 10.0 |
.NET-tilbakemelding
.NET er et åpen kilde-prosjekt. Velg en kobling for å gi tilbakemelding: