| Visual Basic (Declaration) | |
|---|---|
Public Overloads MustOverride Function Create( _ ByVal modeConfigurationType As Type _ ) As Mode | |
| C# | |
|---|---|
public abstract Mode Create( Type modeConfigurationType ) | |
| C++/CLI | |
|---|---|
public: abstract Mode^ Create( Type^ modeConfigurationType ) | |
Parameters
- modeConfigurationType
- Type to use for ModeConfiguration of new Mode.
Return Value
A handle to the newly created mode.| Exception | Description |
|---|---|
| System.ArgumentException | Thrown if modeConfigurationType is not supported. |
The configuration type is fixed for the life of the Mode; it cannot be changed after creation. Use a different Mode to drive measurements of a different type.
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)