MonobjcMonobjc Documented Class Library
NamespaceWithNameStringValue Method (name, value)
NamespacesMonobjc.FoundationNSXMLNodeNamespaceWithNameStringValue(NSString, NSString)

Returns an NSXMLNode object representing a namespace with a specified name and URI.

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

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static Id NamespaceWithNameStringValue(
	NSString name,
	NSString value
)
Public Shared Function NamespaceWithNameStringValue ( _
	name As NSString, _
	value As NSString _
) As Id
public:
static Id^ NamespaceWithNameStringValue(
	NSString^ name, 
	NSString^ value
)
Parameters
name (NSString)
A string that is the name of the namespace. Specify an empty string for name to get the default namespace.
value (NSString)
A string that identifies the URI associated with the namespace.
Return Value
An NSXMLNode object of kind NSXMLNamespaceKind 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)