MonobjcMonobjc Documented Class Library
SelectSegmentWithTag Method (tag)
NamespacesMonobjc.AppKitNSSegmentedControlSelectSegmentWithTag(NSInteger)

Selects the segment with the specified tag.

Original signature is '- (BOOL)selectSegmentWithTag:(NSInteger)tag'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool SelectSegmentWithTag(
	NSInteger tag
)
Public Overridable Function SelectSegmentWithTag ( _
	tag As NSInteger _
) As Boolean
public:
virtual bool SelectSegmentWithTag(
	NSInteger tag
)
Parameters
tag (NSInteger)
The tag associated with the desired segment.
Return Value
YES if the segment was selected successfully; otherwise, NO.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)