Share via


NWPath.EnumerateGateways Method

Definition

Overloads

EnumerateGateways(Action<NWEndpoint>)

Caution

Use the overload that takes a 'Func<NWEndpoint, bool>' instead.

[System.Obsolete("Use the overload that takes a 'Func<NWEndpoint, bool>' instead.")]
public void EnumerateGateways(Action<Network.NWEndpoint> callback);
[<System.Obsolete("Use the overload that takes a 'Func<NWEndpoint, bool>' instead.")>]
member this.EnumerateGateways : Action<Network.NWEndpoint> -> unit

Parameters

callback
Action<NWEndpoint>
Attributes

Applies to

EnumerateGateways(Func<NWEndpoint,Boolean>)

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)]
public void EnumerateGateways(Func<Network.NWEndpoint,bool> callback);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.EnumerateGateways : Func<Network.NWEndpoint, bool> -> unit

Parameters

callback
Func<NWEndpoint,Boolean>
Attributes

Applies to