MonobjcMonobjc Documented Class Library
AttributeWithNameStringValue Method (name, value)
NamespacesMonobjc.FoundationNSXMLNodeAttributeWithNameStringValue(NSString, NSString)

Returns an NSXMLNode object representing an attribute node with a given name and string.

Original signature is '+ (id)attributeWithName:(NSString *)name stringValue:(NSString *)value'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static Id AttributeWithNameStringValue(
	NSString name,
	NSString value
)
Public Shared Function AttributeWithNameStringValue ( _
	name As NSString, _
	value As NSString _
) As Id
public:
static Id^ AttributeWithNameStringValue(
	NSString^ name, 
	NSString^ value
)
Parameters
name (NSString)
A string that is the name of an attribute.
value (NSString)
A string that is the value of an attribute.
Return Value
An NSXMLNode object of kind NSXMLAttributeKind or nil if the object couldn't be created.
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)