編輯

共用方式為


CWInterface.AssociateToNetwork Method

Definition

Overloads

AssociateToNetwork(CWNetwork, NSDictionary, NSError)
AssociateToNetwork(CWNetwork, String, NSError)

AssociateToNetwork(CWNetwork, NSDictionary, NSError)

[Foundation.Export("associateToNetwork:parameters:error:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Obsoleted(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool AssociateToNetwork (CoreWlan.CWNetwork network, Foundation.NSDictionary parameters, out Foundation.NSError error);
abstract member AssociateToNetwork : CoreWlan.CWNetwork * Foundation.NSDictionary *  -> bool
override this.AssociateToNetwork : CoreWlan.CWNetwork * Foundation.NSDictionary *  -> bool

Parameters

network
CWNetwork
parameters
NSDictionary
error
NSError

Returns

Attributes

Applies to

AssociateToNetwork(CWNetwork, String, NSError)

[Foundation.Export("associateToNetwork:password:error:")]
public virtual bool AssociateToNetwork (CoreWlan.CWNetwork network, string password, out Foundation.NSError error);
abstract member AssociateToNetwork : CoreWlan.CWNetwork * string *  -> bool
override this.AssociateToNetwork : CoreWlan.CWNetwork * string *  -> bool

Parameters

network
CWNetwork
password
String
error
NSError

Returns

Attributes

Applies to