MonobjcMonobjc Documented Class Library
SetChannelError Method (channel, error)
NamespacesMonobjc.CoreWLANCWInterfaceSetChannelError(NSUInteger, NSError%)

Sets the channel for the given CoreWLAN interface.

Original signature is '- (BOOL)setChannel:(NSUInteger)channel error:(NSError**)error '

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool SetChannelError(
	NSUInteger channel,
	out NSError error
)
Public Overridable Function SetChannelError ( _
	channel As NSUInteger, _
	<OutAttribute> ByRef error As NSError _
) As Boolean
public:
virtual bool SetChannelError(
	NSUInteger channel, 
	[OutAttribute] NSError^% error
)
Parameters
channel (NSUInteger)
An NSUInteger object representing the channel to which the CoreWLAN interface should be tuned.
error (NSError%)
An NSError object passed by reference, which will be populated with error code and error description if an error occurs during the execution of the method. This parameter is optional and can be passed as nil.
Return Value
A BOOL value which will indicate whether or not a failure occured. YES indicates no error occured.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.CoreWLAN (Module: Monobjc.CoreWLAN)