コード例 #1
0
        internal void Foreach(Action <AddressHandle> action)
        {
            AddressCallback callback = (index, handle, userData) =>
            {
                action(AddressHandle.CloneFrom(handle));
                return(true);
            };

            Foreach(handle, callback, IntPtr.Zero).WarnIfFailed("Failed to get address list from native handle");
        }