MonobjcMonobjc Documented Class Library
ValidRequestorForSendTypeReturnType Method (sendType, returnType)
NamespacesMonobjc.AppKitNSResponderValidRequestorForSendTypeReturnType(NSString, NSString)

Overridden by subclasses to determine what services are available.

Original signature is '- (id)validRequestorForSendType:(NSString *)sendType returnType:(NSString *)returnType'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id ValidRequestorForSendTypeReturnType(
	NSString sendType,
	NSString returnType
Public Overridable Function ValidRequestorForSendTypeReturnType ( _
	sendType As NSString, _
	returnType As NSString _
) As Id
virtual Id^ ValidRequestorForSendTypeReturnType(
	NSString^ sendType, 
	NSString^ returnType
sendType (NSString)
A string identifying the send type of pasteboard data. May be an empty string (see discussion).
returnType (NSString)
A string identifying the return type of pasteboard data. May be an empty string (see discussion).
Return Value
If the receiver can place data of sendType on the pasteboard and receive data of returnType, it should return self; otherwise it should return either [super validRequestorForSendType:returnType:] or [[self nextResponder] validRequestorForSendType:returnType:], which allows an object higher up in the responder chain to have an opportunity to handle the message.
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.AppKit (Module: Monobjc.AppKit)