Sdílet prostřednictvím


Connectivity.ConnectionProfiles Vlastnost

Definice

Získá aktivní typy připojení pro zařízení.

public:
 static property System::Collections::Generic::IEnumerable<Microsoft::Maui::Networking::ConnectionProfile> ^ ConnectionProfiles { System::Collections::Generic::IEnumerable<Microsoft::Maui::Networking::ConnectionProfile> ^ get(); };
public static System.Collections.Generic.IEnumerable<Microsoft.Maui.Networking.ConnectionProfile> ConnectionProfiles { get; }
static member ConnectionProfiles : seq<Microsoft.Maui.Networking.ConnectionProfile>
Public Shared ReadOnly Property ConnectionProfiles As IEnumerable(Of ConnectionProfile)

Hodnota vlastnosti

Seznam všech profilů připojení

Poznámky

Může vyvolat PermissionException na Androidu, pokud ACCESS_NETWORK_STATE není v manifestu nastavený.

Platí pro