VpnCustomPromptText
VpnCustomPromptText
VpnCustomPromptText
VpnCustomPromptText
Class
Definition
Represents a text UI element used in the VpnChannel.RequestCustomPromptAsync method.
public : sealed class VpnCustomPromptText : IVpnCustomPromptElement, IVpnCustomPromptTextpublic sealed class VpnCustomPromptText : IVpnCustomPromptElement, IVpnCustomPromptTextPublic NotInheritable Class VpnCustomPromptText Implements IVpnCustomPromptElement, IVpnCustomPromptText// This API is not available in Javascript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
Constructors
VpnCustomPromptText() VpnCustomPromptText() VpnCustomPromptText() VpnCustomPromptText()
Allows VPN plug-ins to specify a text UI element to be used in the RequestCustomPromptAsync method.
public : VpnCustomPromptText()public VpnCustomPromptText()Public Sub New()// This API is not available in Javascript.
Additional features and requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
Properties
Compulsory Compulsory Compulsory Compulsory
Not supported.
public : PlatForm::Boolean Compulsory { get; set; }public bool Compulsory { get; set; }Public ReadWrite Property Compulsory As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
If the user must provide some text input, it is TRUE; otherwise , it is FALSE.
Additional features and requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
DisplayName DisplayName DisplayName DisplayName
Gets or sets the text label of the text input UI element.
public : PlatForm::String DisplayName { get; set; }public string DisplayName { get; set; }Public ReadWrite Property DisplayName As string// This API is not available in Javascript.
- Value
- PlatForm::String string string string
The text label of the text input UI element.
Additional features and requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
Emphasized Emphasized Emphasized Emphasized
Gets or sets whether the text UI element is emphasized.
public : PlatForm::Boolean Emphasized { get; set; }public bool Emphasized { get; set; }Public ReadWrite Property Emphasized As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
If the text input UI element is emphasized, it is TRUE; otherwise , it is FALSE.
Additional features and requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
Text Text Text Text
Gets or sets the text typed into the text input UI element.
public : PlatForm::String Text { get; set; }public string Text { get; set; }Public ReadWrite Property Text As string// This API is not available in Javascript.
- Value
- PlatForm::String string string string
The text typed into the text input UI element.
Additional features and requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|