2 // ComClassAttribute.cs
5 // Chris J Breisch (cjbreisch@altavista.net)
6 // Rafael Teixeira (rafaelteixeirabr@hotmail.com)
8 // (C) 2002 Chris J Breisch
9 // (C) 2004 Rafael Teixeira
14 namespace Microsoft.VisualBasic {
15 [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
16 sealed public class ComClassAttribute : Attribute {
18 private string classID;
19 private string interfaceID;
20 private string eventID;
21 private bool interfaceShadows;
25 public ComClassAttribute() { }
27 public ComClassAttribute(string _ClassID) {
31 public ComClassAttribute(string _ClassID, string _InterfaceID) {
33 interfaceID = _InterfaceID;
36 public ComClassAttribute(string _ClassID, string _InterfaceID, string _EventID) {
38 interfaceID = _InterfaceID;
43 public string EventID { get { return eventID; } }
45 public bool InterfaceShadows {
46 get { return interfaceShadows; }
47 set { interfaceShadows = value; }
50 public string ClassID { get { return classID; } }
52 public string InterfaceID { get { return interfaceID; } }