Files
Dec2017-Script-Dump/mscorlib/System/Runtime/InteropServices/ProgIdAttribute.cs
T
2026-06-04 11:42:34 +02:00

35 lines
967 B
C#

using System;
namespace System.Runtime.InteropServices
{
/// <summary>Allows the user to specify the ProgID of a class.</summary>
// Token: 0x02000335 RID: 821
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
[ComVisible(true)]
public sealed class ProgIdAttribute : Attribute
{
/// <summary>Initializes a new instance of the ProgIdAttribute with the specified ProgID.</summary>
/// <param name="progId">The ProgID to be assigned to the class. </param>
// Token: 0x060022F7 RID: 8951 RVA: 0x0007A5E8 File Offset: 0x000787E8
public ProgIdAttribute(string progId)
{
this.pid = progId;
}
/// <summary>Gets the ProgID of the class.</summary>
/// <returns>The ProgID of the class.</returns>
// Token: 0x17000657 RID: 1623
// (get) Token: 0x060022F8 RID: 8952 RVA: 0x0007A5F8 File Offset: 0x000787F8
public string Value
{
get
{
return this.pid;
}
}
// Token: 0x04000D7C RID: 3452
private string pid;
}
}