MonobjcMonobjc Documented Class Library
ViewWithTag Method (aTag)

Returns the receiver’s nearest descendant (including itself) with a specific tag, or nil if no subview has that tag.

Original signature is '- (id)viewWithTag:(NSInteger)aTag'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSView ViewWithTag(
	NSInteger aTag
Public Overridable Function ViewWithTag ( _
	aTag As NSInteger _
) As NSView
virtual NSView^ ViewWithTag(
	NSInteger aTag
aTag (NSInteger)
An integer identifier associated with a view object.
Return Value

[Missing <returns> documentation for "M:Monobjc.AppKit.NSView.ViewWithTag(Monobjc.Foundation.NSInteger)"]

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)