This type represents a native object in the Objective-C runtime and is referenced through a memory pointer.
For each managed instance is associated a native pointer that allows a two-way messaging between the .NET and the Objective-C runtime.
C# | Visual Basic | Visual C++ |
public class Id : IManagedWrapper, IDisposable, IEquatable<Id>
Public Class Id _ Implements IManagedWrapper, IDisposable, IEquatable(Of Id)
public ref class Id : IManagedWrapper, IDisposable, IEquatable<Id^>
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
Id()()()() |
Initializes a new instance of the Id class.
| |
Id(IntPtr) |
Initializes a new instance of the Id class.
| |
Id(String, Object, array<Object>[]()[][]) |
Initializes a new instance of the Id class.
| |
Alloc()()()() |
Allocates a new native instance.
| |
Autorelease()()()() | Adds the receiver to the current autorelease pool. Original signature is '- (id)autorelease' Available in Mac OS X v10.0 and later. | |
Autorelease<(Of <<'(T>)>>)()()()() | Adds the receiver to the current autorelease pool. Original signature is '- (id)autorelease' Available in Mac OS X v10.0 and later. | |
CastAs<(Of <<'(T>)>>)()()()() |
Try to cast the current instance to the given type. The cast is dynamically tested for safety.
| |
CastTo<(Of <<'(T>)>>)()()()() |
Cast the current instance to the given type. The cast is dynamically tested for safety.
| |
Class | Gets the class of the underlying instance. | |
Dispose()()()() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources
| |
Equality(Id, Id) |
Implements the operator ==.
| |
Equals(Id) |
Indicates whether the current object is equal to another object of the same type.
| |
Equals(Object) | (Overrides Object.Equals(Object).) | |
Finalize()()()() |
Releases unmanaged resources and performs other cleanup operations before the
Id is reclaimed by garbage collection.
(Overrides Object.Finalize()()()().) | |
GetHashCode()()()() |
Serves as a hash function for a particular type.
(Overrides Object.GetHashCode()()()().) | |
GetInstanceVariable<(Of <<'(T>)>>)(String) |
Gets the instance variable of the specified name.
| |
GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
Inequality(Id, Id) |
Implements the operator !=.
| |
MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
NativePointer |
Gets or sets the native pointer.
| |
Release()()()() | Decrements the receiver�s reference count. Original signature is '- (oneway void)release' Available in Mac OS X v10.0 and later. | |
Retain()()()() | Increments the receiver�s reference count. Original signature is '- (id)retain' Available in Mac OS X v10.0 and later. | |
Retain<(Of <<'(T>)>>)()()()() | Increments the receiver�s reference count. Original signature is '- (id)retain' Available in Mac OS X v10.0 and later. | |
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(); | |
SendMessage(String, array<Object>[]()[][]) |
Sends a message to this receiver (either a Class or an object instance).
| |
SendMessage<(Of <<'(TReturnType>)>>)(String, array<Object>[]()[][]) |
Sends a message to this receiver (either a Class or an object instance).
| |
SendMessageSuper(Class, String, array<Object>[]()[][]) | Sends a message to the super instance of this receiver. | |
SendMessageSuper<(Of <<'(TReturnType>)>>)(Class, String, array<Object>[]()[][]) | Sends a message to the super instance of this receiver. | |
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 | |
SendMessageSuperVarArgs<(Of <<'(TReturnType>)>>)(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 | |
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 | |
SendMessageVarArgs<(Of <<'(TReturnType>)>>)(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 | |
SetInstanceVariable<(Of <<'(T>)>>)(String, T) |
Sets the instance variable of the specified name.
| |
ToString()()()() | (Inherited from Object.) |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)