AccessibilitySubsystem.Register(AccessibilitySubsystemCinfo) Method
Definition
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.
Registers a accessibility subsystem implementation based on the given subsystem parameters.
public static bool Register(MixedReality.Toolkit.Accessibility.AccessibilitySubsystemCinfo accessibilitySubsystemParams);
static member Register : MixedReality.Toolkit.Accessibility.AccessibilitySubsystemCinfo -> bool
Public Shared Function Register (accessibilitySubsystemParams As AccessibilitySubsystemCinfo) As Boolean
Parameters
- accessibilitySubsystemParams
- AccessibilitySubsystemCinfo
The parameters defining the accessibility subsystem functionality implemented by the subsystem provider.
Returns
true if the subsystem implementation is registered. Otherwise, false.
Exceptions
Thrown when the values specified in the AccessibilitySubsystemCinfo parameter are invalid. Typically, this will occur
-
If Name is
nullor empty. -
If ProviderType is
null. - The ProviderType does not derive from the AccessibilitySubsystem.Provider type.
- If SubsystemTypeOverride does not derive from the AccessibilitySubsystem class.