MonobjcMonobjc Documented Class Library
NSDistantObject Class
NamespacesMonobjc.FoundationNSDistantObject

[Missing <summary> documentation for "T:Monobjc.Foundation.NSDistantObject"]

Declaration Syntax
C#Visual BasicVisual C++
public class NSDistantObject : NSProxy, 
	IManagedWrapper, INSCoding
Public Class NSDistantObject _
	Inherits NSProxy _
	Implements IManagedWrapper, INSCoding
public ref class NSDistantObject : public NSProxy, 
	IManagedWrapper, INSCoding
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
NSDistantObject(NSCoder)

Returns an object initialized from data in a given unarchiver. (required)

Original signature is '- (id)initWithCoder:(NSCoder *)decoder'

Available in Mac OS X v10.0 and later.


NSDistantObject()()()()
Initializes a new instance of the NSDistantObject class.

NSDistantObject(IntPtr)
Initializes a new instance of the NSDistantObject class.

NSDistantObject(String, Object, array<Object>[]()[][])
Initializes a new instance of the NSDistantObject class.

Alloc()()()()
Allocates a new native instance.
(Inherited from Id.)
Autorelease()()()()

Adds the receiver to the current autorelease pool.

Original signature is '- (id)autorelease'

Available in Mac OS X v10.0 and later.

(Inherited from Id.)
CastAs<(Of <<'(T>)>>)()()()()
Try to cast the current instance to the given type. The cast is dynamically tested for safety.
(Inherited from Id.)
CastTo<(Of <<'(T>)>>)()()()()
Cast the current instance to the given type. The cast is dynamically tested for safety.
(Inherited from Id.)
Class

Gets the class of the underlying instance.

(Inherited from Id.)
ConformsToProtocol(IntPtr)

Returns a Boolean value that indicates whether the receiver conforms to a given protocol. (required)

Original signature is '- (BOOL)conformsToProtocol:(Protocol *)aProtocol'

Available in Mac OS X v10.0 and later.

(Inherited from NSProxy.)
ConnectionForProxy

Returns the connection used by the receiver.

Original signature is '- (NSConnection *)connectionForProxy'

Available in Mac OS X v10.0 and later.


Dealloc()()()()

Deallocates the memory occupied by the receiver.

Original signature is '- (void)dealloc'

Available in Mac OS X v10.0 and later.

(Inherited from NSProxy.)
Description

Returns an NSString object containing the real class name and the id of the receiver as a hexadecimal number.

Original signature is '- (NSString *)description'

Available in Mac OS X v10.0 and later.

(Inherited from NSProxy.)
Dispose()()()()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from Id.)
Dispose(Boolean)
Releases unmanaged and - optionally - managed resources
(Inherited from Id.)
EncodeWithCoder(NSCoder)

Encodes the receiver using a given archiver. (required)

Original signature is '- (void)encodeWithCoder:(NSCoder *)encoder'

Available in Mac OS X v10.0 and later.


Equals(Id)
Indicates whether the current object is equal to another object of the same type.
(Inherited from Id.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Id.)
Finalize()()()()
Releases unmanaged resources and performs other cleanup operations before the Id is reclaimed by garbage collection.
(Inherited from Id.)
ForwardInvocation(NSInvocation)

Passes a given invocation to the real object the proxy represents.

Original signature is '- (void)forwardInvocation:(NSInvocation *)anInvocation'

Available in Mac OS X v10.0 and later.

(Inherited from NSProxy.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Id.)
GetInstanceVariable<(Of <<'(T>)>>)(String)
Gets the instance variable of the specified name.
(Inherited from Id.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Hash

Returns an integer that can be used as a table address in a hash table structure. (required)

Original signature is '- (NSUInteger)hash'

Available in Mac OS X v10.0 and later.

(Inherited from NSProxy.)
InitWithCoder(NSCoder)

Returns an object initialized from data in a given unarchiver. (required)

Original signature is '- (id)initWithCoder:(NSCoder *)decoder'

Available in Mac OS X v10.0 and later.


InitWithLocalConnection(Id, NSConnection)

Initializes an NSDistantObject object as a local proxy for a given object.

Original signature is '- (id)initWithLocal:(id)anObject connection:(NSConnection *)aConnection'

Available in Mac OS X v10.0 and later.


InitWithTargetConnection(Id, NSConnection)

Initializes a newly allocated NSDistantObject as a remote proxy for remoteObject, which is an id in another thread or another application’s address space.

Original signature is '- (id)initWithTarget:(id)remoteObject connection:(NSConnection *)aConnection'

Available in Mac OS X v10.0 and later.


IsEqual(Id)

Returns a Boolean value that indicates whether the receiver and a given object are equal. (required)

Original signature is '- (BOOL)isEqual:(id)anObject'

Available in Mac OS X v10.0 and later.

(Inherited from NSProxy.)
IsKindOfClass(Class)

Returns a Boolean value that indicates whether the receiver is an instance of given class or an instance of any class that inherits from that class. (required)

Original signature is '- (BOOL)isKindOfClass:(Class)aClass'

Available in Mac OS X v10.0 and later.

(Inherited from NSProxy.)
IsMemberOfClass(Class)

Returns a Boolean value that indicates whether the receiver is an instance of a given class. (required)

Original signature is '- (BOOL)isMemberOfClass:(Class)aClass'

Available in Mac OS X v10.0 and later.

(Inherited from NSProxy.)
IsProxy

Returns a Boolean value that indicates whether the receiver does not descend from NSObject. (required)

Original signature is '- (BOOL)isProxy'

Available in Mac OS X v10.0 and later.

(Inherited from NSProxy.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MethodSignatureForSelector(IntPtr)

Raises NSInvalidArgumentException. Override this method in your concrete subclass to return a proper NSMethodSignature object for the given selector and the class your proxy objects stand in for.

Original signature is '- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSProxy.)
NativePointer
Gets or sets the native pointer.
(Inherited from Id.)
NSDistantObjectClass
Static field for a quick access to the NSDistantObject class.

PerformSelector(IntPtr)

Sends a specified message to the receiver and returns the result of the message. (required)

Original signature is '- (id)performSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSProxy.)
PerformSelectorWithObject(IntPtr, Id)

Sends a message to the receiver with an object as the argument. (required)

Original signature is '- (id)performSelector:(SEL)aSelector withObject:(id)anObject'

Available in Mac OS X v10.0 and later.

(Inherited from NSProxy.)
PerformSelectorWithObjectWithObject(IntPtr, Id, Id)

Sends a message to the receiver with two objects as arguments. (required)

Original signature is '- (id)performSelector:(SEL)aSelector withObject:(id)anObject withObject:(id)anotherObject'

Available in Mac OS X v10.0 and later.

(Inherited from NSProxy.)
ProxyWithLocalConnection(Id, NSConnection)

Returns a local proxy for a given object and connection, creating the proxy if necessary.

Original signature is '+ (NSDistantObject *)proxyWithLocal:(id)anObject connection:(NSConnection *)aConnection'

Available in Mac OS X v10.0 and later.


ProxyWithTargetConnection(Id, NSConnection)

Returns a remote proxy for a given object and connection, creating the proxy if necessary.

Original signature is '+ (NSDistantObject *)proxyWithTarget:(id)remoteObject connection:(NSConnection *)aConnection'

Available in Mac OS X v10.0 and later.


Release()()()()

Decrements the receiver�s reference count.

Original signature is '- (oneway void)release'

Available in Mac OS X v10.0 and later.

(Inherited from Id.)
RespondsToSelector(IntPtr)

Returns a Boolean value that indicates whether the receiver implements or inherits a method that can respond to a specified message. (required)

Original signature is '- (BOOL)respondsToSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSProxy.)
RespondsToSelector(String)

Returns a Boolean value that indicates whether the receiver implements or inherits a method that can respond to a specified message.

Original signature is '- (BOOL)respondsToSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSProxy.)
Retain()()()()

Increments the receiver�s reference count.

Original signature is '- (id)retain'

Available in Mac OS X v10.0 and later.

(Inherited from Id.)
RetainCount

Returns the receiver’s reference count. (required)

Original signature is '- (NSUInteger)retainCount'

Available in Mac OS X v10.0 and later.

(Inherited from NSProxy.)
SafeCastAs<(Of <<'(TInstance>)>>)(Id)
Try to cast the current instance to the given type. The cast is dynamically tested for safety.
(Inherited from IdExtensions.)
SafeCastTo<(Of <<'(TInstance>)>>)(Id)
Cast the current instance to the given type. the cast is dynamically tested for safety
(Inherited from IdExtensions.)
SafeRelease(Id)

Performs a safe release operation on the given instance.

The equivalent code is:

CopyC#
if (instance != null) instance.Release();
(Inherited from IdExtensions.)
Self

Returns the receiver. (required)

Original signature is '- (id)self'

Available in Mac OS X v10.0 and later.

(Inherited from NSProxy.)
SendMessage(String, array<Object>[]()[][])
Sends a message to this receiver (either a Class or an object instance).
(Inherited from Id.)
SendMessageSuper(Class, String, array<Object>[]()[][])

Sends a message to the super instance of this receiver.

(Inherited from Id.)
SendMessageSuperVarArgs(Class, String, array<Object>[]()[][])

Sends a message to the super instance of this receiver.

The last parameter passed must be an object array that contains the variable list of arguments

(Inherited from Id.)
SendMessageVarArgs(String, array<Object>[]()[][])

Sends a message to this receiver (either a Class or an object instance).

The last parameter passed must be an object array that contains the variable list of arguments

(Inherited from Id.)
SetInstanceVariable<(Of <<'(T>)>>)(String, T)
Sets the instance variable of the specified name.
(Inherited from Id.)
SetProtocolForProxy(IntPtr)

Sets the methods known to be handled by the receiver to those in a given protocol.

Original signature is '- (void)setProtocolForProxy:(Protocol *)aProtocol'

Available in Mac OS X v10.0 and later.


Superclass

Returns the class object for the receiver’s superclass. (required)

Original signature is '- (Class)superclass'

Available in Mac OS X v10.0 and later.

(Inherited from NSProxy.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Zone

Returns a pointer to the zone from which the receiver was allocated. (required)

Original signature is '- (NSZone *)zone'

Available in Mac OS X v10.0 and later.

(Inherited from NSProxy.)
Inheritance Hierarchy
Object
Id
 NSProxy
  NSDistantObject
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)