Share via


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
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class TriStates
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum TriStates
var value = Windows.Networking.Connectivity.TriStates.doNotCare
Public Enum TriStates
Inheritance
TriStates
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
DoNotCare 0

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

No 1

The corresponding state is not set.

Yes 2

The corresponding state is set.

Applies to