Class ComProgIdAttribute
An attribute to specifiy the ProgID of the COM class to create. (As suggested by Kristen Wegner)
Inheritance
System.Object
ComProgIdAttribute
Namespace: Dapplo.Windows.Com
Assembly: Dapplo.Windows.Com.dll
Syntax
public sealed class ComProgIdAttribute : Attribute
Constructors
| Improve this Doc View SourceComProgIdAttribute(String)
Constructor
Declaration
public ComProgIdAttribute(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The COM ProgID. |
Properties
| Improve this Doc View SourceValue
Returns the COM ProgID
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceGetAttribute(Type)
Extracts the attribute from the specified type.
Declaration
public static ComProgIdAttribute GetAttribute(Type interfaceType)
Parameters
Type | Name | Description |
---|---|---|
Type | interfaceType | The interface type. |
Returns
Type | Description |
---|---|
ComProgIdAttribute | The ComProgIdAttribute. |