System.Runtime.InteropServices.GCHandle.Alloc C# (CSharp) Method

Alloc() private method

private Alloc ( Object value, GCHandleType type ) : GCHandle
value Object
type GCHandleType
return GCHandle
        public static GCHandle Alloc(Object value, GCHandleType type)
        {
            return new GCHandle(value, type);
        }

Same methods

GCHandle::Alloc ( Object value ) : GCHandle