MonobjcMonobjc Documented Class Library
AttributeForName Method (name)
NamespacesMonobjc.FoundationNSXMLElementAttributeForName(NSString)

Returns the attribute node of the receiver with the specified name.

Original signature is '- (NSXMLNode *)attributeForName:(NSString *)name'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSXMLNode AttributeForName(
	NSString name
)
Public Overridable Function AttributeForName ( _
	name As NSString _
) As NSXMLNode
public:
virtual NSXMLNode^ AttributeForName(
	NSString^ name
)
Parameters
name (NSString)
A string specifying the name of an attribute.
Return Value
An XML node object representing a matching attribute or nil if no such node was found.
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.Foundation (Module: Monobjc.Foundation)