Inserts a descriptor at the specified (one-based) position in the receiving descriptor list, replacing the existing descriptor, if any, at that position.
Original signature is '- (void)insertDescriptor:(NSAppleEventDescriptor *)descriptor atIndex:(NSInteger)anIndex'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void InsertDescriptorAtIndex( NSAppleEventDescriptor descriptor, NSInteger anIndex )
Public Overridable Sub InsertDescriptorAtIndex ( _ descriptor As NSAppleEventDescriptor, _ anIndex As NSInteger _ )
public: virtual void InsertDescriptorAtIndex( NSAppleEventDescriptor^ descriptor, NSInteger anIndex )
Parameters
- descriptor (NSAppleEventDescriptor)
- The descriptor to insert in the receiver. Specifying an index of 0 or count + 1 causes appending to the end of the list.
- anIndex (NSInteger)
- The one-based descriptor list position at which to insert the descriptor.
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)