MonobjcMonobjc Documented Class Library
GetCharacters Method (buffer)
NamespacesMonobjc.FoundationNSStringGetCharacters(IntPtr)

Copies all characters from the receiver into a given buffer. (Deprecated in Mac OS X v10.6. This method is unsafe because it could potentially cause buffer overruns. Use getCharacters:range: instead.)

Original signature is '- (void)getCharacters:(unichar *)buffer'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
[ObsoleteAttribute("Deprecated in Mac OS X v10.6. This method is unsafe because it could potentially cause buffer overruns. Use getCharacters:range: instead.")]
public virtual void GetCharacters(
	IntPtr buffer
)
<ObsoleteAttribute("Deprecated in Mac OS X v10.6. This method is unsafe because it could potentially cause buffer overruns. Use getCharacters:range: instead.")> _
Public Overridable Sub GetCharacters ( _
	buffer As IntPtr _
)
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.6. This method is unsafe because it could potentially cause buffer overruns. Use getCharacters:range: instead.")]
public:
virtual void GetCharacters(
	IntPtr buffer
)
Parameters
buffer (IntPtr)
Upon return, contains the characters from the receiver. buffer must be large enough to contain all characters in the string ([string length]*sizeof(unichar)).
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)