WindowsRuntimeMarshal Methods

.NET Framework 4.5

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

The WindowsRuntimeMarshal type exposes the following members.

  Name Description
Public method Static member AddEventHandler<T> Infrastructure. Adds the specified event handler to a Windows Runtime event.
Public method Static member FreeHString Frees the specified Windows Runtime HSTRING.
Public method Static member GetActivationFactory Infrastructure. Returns an object that implements the activation factory interface for the specified Windows Runtime type.
Public method Static member PtrToStringHString Returns a managed string that contains a copy of the specified Windows Runtime HSTRING.
Public method Static member RemoveAllEventHandlers Infrastructure. Removes all the event handlers that can be removed by using the specified method.
Public method Static member RemoveEventHandler<T> Infrastructure. Removes the specified event handler from a Windows Runtime event.
Public method Static member StringToHString Allocates a Windows Runtime HSTRING and copies the specified managed string to it.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft