VpnCustomPromptOptionSelector VpnCustomPromptOptionSelector VpnCustomPromptOptionSelector VpnCustomPromptOptionSelector Class

Definition

Represents a multiple choice UI control prompt required from the user. This is typically a combo box. This is used in the construction of custom prompts used in the VpnChannel.RequestCustomPromptAsync method.

public : sealed class VpnCustomPromptOptionSelector : IVpnCustomPromptElement, IVpnCustomPromptOptionSelectorpublic sealed class VpnCustomPromptOptionSelector : IVpnCustomPromptElement, IVpnCustomPromptOptionSelectorPublic NotInheritable Class VpnCustomPromptOptionSelector Implements IVpnCustomPromptElement, IVpnCustomPromptOptionSelector// 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

VpnCustomPromptOptionSelector() VpnCustomPromptOptionSelector() VpnCustomPromptOptionSelector() VpnCustomPromptOptionSelector()

Constructs an object representing a multiple choice UI element to be used in the VpnChannel.RequestCustomPrompt method.

public : VpnCustomPromptOptionSelector()public VpnCustomPromptOptionSelector()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

Gets or sets whether the user must provide some text input in this element before the UI flow of the can continue (the next button is grayed out).

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 input UI element is emphasized or not

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

Options Options Options Options

Gets the list of strings that are presented as choices for the multiple choice UI element. The plug-in is expected to retrieve the list, and fill it with the strings needed (in the order that they are to be presented).

public : IVector<string> Options { get; }public IList<string> Options { get; }Public ReadOnly Property Options As IList<string>// This API is not available in Javascript.
Value
IVector<PlatForm::String> IList<string> IList<string> IList<string>

The list of strings that are presented as choices for the multiple choice UI element.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider

SelectedIndex SelectedIndex SelectedIndex SelectedIndex

Gets the index into the options string vector of the option selected by the user.

public : unsigned int SelectedIndex { get; }public uint SelectedIndex { get; }Public ReadOnly Property SelectedIndex As uint// This API is not available in Javascript.
Value
unsigned int uint uint uint

The index into the options string vector of the option selected by the user.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider