TriStates TriStates TriStates TriStates TriStates Enum

Definition

Used with the NetworkUsageStates structure to define the desired roaming state and shared state of a network connection.

public : enum class TriStates
enum class winrt::Windows::Networking::Connectivity::TriStates : int32_t
public enum TriStates
Public Enum TriStates
var value = Windows.Networking.Connectivity.TriStates.doNotCare;
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

DoNotCare DoNotCare DoNotCare DoNotCare DoNotCare 0

Used when the corresponding state should not be used as a filter, e.g., both yes and no.

No No No No No 1

The corresponding state is not set.

Yes Yes Yes Yes Yes 2

The corresponding state is set.