TriStates TriStates TriStates TriStates Enum


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

public : enum class TriStatespublic enum TriStatesPublic Enum TriStates// You can use this enum in JavaScript.
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


DoNotCare DoNotCare DoNotCare DoNotCare

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

No No No No

The corresponding state is not set.

Yes Yes Yes Yes

The corresponding state is set.