System.Runtime.InteropServices.WindowsRuntime
Specifies the default interface of a managed Windows Runtime class.
Initializes a new instance of the class.
The interface type that is specified as the default interface for the class the attribute is applied to.
Gets the type of the default interface.
The type of the default interface.
A token that is returned when an event handler is added to a Windows Runtime event. The token is used to remove the event handler from the event at a later time.
Returns a value that indicates whether the current object is equal to the specified object.
true if the current object is equal to ; otherwise, false.
The object to compare.
Returns the hash code for this instance.
The hash code for this instance.
Indicates whether two instances are equal.
true if the two objects are equal; otherwise, false.
The first instance to compare.
The second instance to compare.
Indicates whether two instances are not equal.
true if the two instances are not equal; otherwise, false.
The first instance to compare.
The second instance to compare.
Stores mappings between delegates and event tokens, to support the implementation of a Windows Runtime event in managed code.
The type of the event handler delegate for a particular event.
Initializes a new instance of the class.
is not a delegate type.
Adds the specified event handler to the table and to the invocation list, and returns a token that can be used to remove the event handler.
A token that can be used to remove the event handler from the table and the invocation list.
The event handler to add.
Returns the specified event registration token table, if it is not null; otherwise, returns a new event registration token table.
The event registration token table that is specified by , if it is not null; otherwise, a new event registration token table.
An event registration token table, passed by reference.
Gets or sets a delegate of type whose invocation list includes all the event handler delegates that have been added, and that have not yet been removed. Invoking this delegate invokes all the event handlers.
A delegate of type that represents all the event handler delegates that are currently registered for an event.
Removes the event handler that is associated with the specified token from the table and the invocation list.
The token that was returned when the event handler was added.
Removes the specified event handler delegate from the table and the invocation list.
The event handler to remove.
Enables classes to be activated by the Windows Runtime.
Returns a new instance of the Windows Runtime class that is created by the interface.
The new instance of the Windows Runtime class.
Specifies the version of the target type that first implemented the specified interface.
Initializes a new instance of the class, specifying the interface that the target type implements and the version in which that interface was first implemented.
The interface that was first implemented in the specified version of the target type.
The major component of the version of the target type that first implemented .
The minor component of the version of the target type that first implemented .
The build component of the version of the target type that first implemented .
The revision component of the version of the target type that first implemented .
Gets the build component of the version of the target type that first implemented the interface.
The build component of the version.
Gets the type of the interface that the target type implements.
The type of the interface.
Gets the major component of the version of the target type that first implemented the interface.
The major component of the version.
Gets the minor component of the version of the target type that first implemented the interface.
The minor component of the version.
Gets the revision component of the version of the target type that first implemented the interface.
The revision component of the version.
When applied to an array parameter in a Windows Runtime component, specifies that the contents of the array that is passed to that parameter are used only for input. The caller expects the array to be unchanged by the call. See the Remarks section for important information about callers that are written using managed code.
Initializes a new instance of the class.
Specifies the name of the return value of a method in a Windows Runtime component.
Initializes a new instance of the class, and specifies the name of the return value.
The name of the return value.
Gets the name that was specified for the return value of a method in a Windows Runtime component.
The name of the method's return value.
Provides helper methods for marshaling data between the .NET Framework and the Windows Runtime.
Adds the specified event handler to a Windows Runtime event.
A delegate that represents the method that adds event handlers to the Windows Runtime event.
A delegate that represents the method that removes event handlers from the Windows Runtime event.
A delegate the represents the event handler that is added.
The type of the delegate that represents the event handler.
is null. -or- is null.
Frees the specified Windows Runtime HSTRING.
The address of the HSTRING to free.
The Windows Runtime is not supported on the current version of the operating system.
Returns an object that implements the activation factory interface for the specified Windows Runtime type.
An object that implements the activation factory interface.
The Windows Runtime type to get the activation factory interface for.
does not represent a Windows Runtime type (that is, belonging to the Windows Runtime itself or defined in a Windows Runtime component). -or-The object specified for was not provided by the common language runtime type system.
is null.
The specified Windows Runtime class is not properly registered. For example, the .winmd file was located, but the Windows Runtime failed to locate the implementation.
Returns a managed string that contains a copy of the specified Windows Runtime HSTRING.
A managed string that contains a copy of the HSTRING if is not ; otherwise, .
An unmanaged pointer to the HSTRING to copy.
The Windows Runtime is not supported on the current version of the operating system.
Removes all the event handlers that can be removed by using the specified method.
A delegate that represents the method that removes event handlers from the Windows Runtime event.
is null.
Removes the specified event handler from a Windows Runtime event.
A delegate that represents the method that removes event handlers from the Windows Runtime event.
The event handler that is removed.
The type of the delegate that represents the event handler.
is null.
Allocates a Windows Runtime HSTRING and copies the specified managed string to it.
An unmanaged pointer to the new HSTRING, or if is .
The managed string to copy.
The Windows Runtime is not supported on the current version of the operating system.
is null.
When applied to an array parameter in a Windows Runtime component, specifies that the contents of an array that is passed to that parameter are used only for output. The caller does not guarantee that the contents are initialized, and the called method should not read the contents. See the Remarks section for important information about callers that are written using managed code.
Initializes a new instance of the class.