System.MulticastDelegate.GetType C# (CSharp) Method

GetType() private method

private GetType ( ) : Type
return Type
        public new Type GetType()
        {
            return base.GetType();
        }

Usage Example

Beispiel #1
0
        // Serialize a multicast delegate object.
        internal static void SerializeMulticast
            (SerializationInfo info, MulticastDelegate del)
        {
            DelegateEntry entry, next;
            int           index = 0;

            // Serialize the first entry on the multicast list.
            entry = Serialize(info, index++, del.GetType(), del.target,
                              MethodBase.GetMethodFromHandle(del.method));

            // Serialize the rest of the multicast chain.
            del = del.prev;
            while (del != null)
            {
                next = Serialize
                           (info, index++, del.GetType(), del.target,
                           MethodBase.GetMethodFromHandle(del.method));
                entry.delegateEntry = next;
                entry = next;
                del   = del.prev;
            }
        }
All Usage Examples Of System.MulticastDelegate::GetType