예제 #1
0
 public override byte[] GetByteArrayAtIndex(int index)
 {
     return(MarshalHelpers.GetByteArray((IntPtr buffer, IntPtr bufferLength, out bool isNull, out NativeException ex) =>
                                        NativeMethods.get_binary(this, (IntPtr)index, buffer, bufferLength, out isNull, out ex)));
 }
예제 #2
0
 public byte[] GetByteArray(IntPtr propertyIndex)
 {
     return(MarshalHelpers.GetByteArray((IntPtr buffer, IntPtr bufferLength, out bool isNull, out NativeException ex) =>
                                        NativeMethods.get_binary(this, propertyIndex, buffer, bufferLength, out isNull, out ex)));
 }