MonobjcMonobjc Documented Class Library
PathWithComponents Method (components)
NamespacesMonobjc.FoundationNSStringPathWithComponents(NSArray)

Returns a string built from the strings in a given array by concatenating them with a path separator between each pair.

Original signature is '+ (NSString *)pathWithComponents:(NSArray *)components'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSString PathWithComponents(
	NSArray components
)
Public Shared Function PathWithComponents ( _
	components As NSArray _
) As NSString
public:
static NSString^ PathWithComponents(
	NSArray^ components
)
Parameters
components (NSArray)
An array of NSString objects representing a file path. To create an absolute path, use a slash mark (“/”) as the first component. To include a trailing path divider, use an empty string as the last component.
Return Value
A string built from the strings in components by concatenating them (in the order they appear in the array) with a path separator between each pair.
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)