GuidAttribute.cs 604 B

12345678910111213141516171819202122232425
  1. //
  2. // System.Runtime.InteropServices.InAttribute.cs
  3. //
  4. // Author:
  5. // Kevin Winchester ([email protected])
  6. //
  7. // (C) 2002 Kevin Winchester
  8. //
  9. namespace System.Runtime.InteropServices {
  10. [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate)]
  11. public sealed class GuidAttribute : Attribute {
  12. private string guidValue;
  13. public GuidAttribute (string guid) {
  14. guidValue = guid;
  15. }
  16. public string Value {
  17. get {return guidValue;}
  18. }
  19. }
  20. }