MonobjcMonobjc Documented Class Library
GetCStringMaxLength Method (buffer, maxLength)
NamespacesMonobjc.FoundationNSStringGetCStringMaxLength(IntPtr, NSUInteger)

Invokes getCString:maxLength:range:remainingRange: with maxLength as the maximum length in char-sized units, the receiver’s entire extent as the range, and NULL for the remaining range. (Deprecated in Mac OS X v10.4. Use getCString:maxLength:encoding: instead.)

Original signature is '- (void)getCString:(char *)buffer maxLength:(NSUInteger)maxLength'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
[ObsoleteAttribute("Deprecated in Mac OS X v10.4. Use getCString:maxLength:encoding: instead.")]
public virtual void GetCStringMaxLength(
	IntPtr buffer,
	NSUInteger maxLength
)
<ObsoleteAttribute("Deprecated in Mac OS X v10.4. Use getCString:maxLength:encoding: instead.")> _
Public Overridable Sub GetCStringMaxLength ( _
	buffer As IntPtr, _
	maxLength As NSUInteger _
)
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.4. Use getCString:maxLength:encoding: instead.")]
public:
virtual void GetCStringMaxLength(
	IntPtr buffer, 
	NSUInteger maxLength
)
Parameters
buffer (IntPtr)
MISSING
maxLength (NSUInteger)
MISSING
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)