mscorlib(4.0.0.0) API with additions
ProgIdAttribute.cs
2 {
4  [AttributeUsage(AttributeTargets.Class, Inherited = false)]
5  [ComVisible(true)]
6  public sealed class ProgIdAttribute : Attribute
7  {
8  internal string _val;
9 
12  public string Value => _val;
13 
16  public ProgIdAttribute(string progId)
17  {
18  _val = progId;
19  }
20  }
21 }
Represents the base class for custom attributes.
Definition: Attribute.cs:15
string Value
Gets the ProgID of the class.
AttributeTargets
Specifies the application elements on which it is valid to apply an attribute.
Allows the user to specify the ProgID of a class.
ProgIdAttribute(string progId)
Initializes a new instance of the ProgIdAttribute with the specified ProgID.