PropertyItem.cs 838 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //
  2. // System.Drawing.Imaging.PropertyItem.cs
  3. //
  4. // Authors:
  5. // Everaldo Canuto ([email protected])
  6. // Andreas Nahr ([email protected])
  7. // Dennis Hayes ([email protected])
  8. //
  9. // (C) 2002 Ximian, Inc. http://www.ximian.com
  10. //
  11. using System;
  12. namespace System.Drawing.Imaging {
  13. public sealed class PropertyItem
  14. {
  15. private int id;
  16. private int len;
  17. private short type;
  18. private byte[] value;
  19. //constructor
  20. internal PropertyItem()
  21. {
  22. //Nothing to be done here
  23. }
  24. // properties
  25. public int Id {
  26. get { return id; }
  27. set { id = value; }
  28. }
  29. public int Len {
  30. get { return len; }
  31. set { len = value; }
  32. }
  33. public short Type {
  34. get { return type; }
  35. set { type = value; }
  36. }
  37. public byte[] Value {
  38. get { return this.value; }
  39. set { this.value = value; }
  40. }
  41. }
  42. }