MonobjcMonobjc Documented Class Library
ValueWithRect Method (rect)
NamespacesMonobjc.FoundationNSValueValueWithRect(NSRect)

Creates and returns an NSValue object that contains a given NSRect structure.

Original signature is '+ (NSValue *)valueWithRect:(NSRect)rect'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSValue ValueWithRect(
	NSRect rect
)
Public Shared Function ValueWithRect ( _
	rect As NSRect _
) As NSValue
public:
static NSValue^ ValueWithRect(
	NSRect rect
)
Parameters
rect (NSRect)
The value for the new object.
Return Value
A new NSValue object that contains the value of rect.
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)