Class FormControlClass
The class of a form or of one of its controls: the library that defines it and the class's name in that library, or the class identifier of an ActiveX control the designer data names only by its CLSID.
public sealed record FormControlClass : IEquatable<FormControlClass>
- Inheritance
-
FormControlClass
- Implements
- Inherited Members
Constructors
FormControlClass(string?, string?, Guid?)
The class of a form or of one of its controls: the library that defines it and the class's name in that library, or the class identifier of an ActiveX control the designer data names only by its CLSID.
public FormControlClass(string? Library, string? Name, Guid? ClassId = null)
Parameters
LibrarystringThe name of the library that defines the class (
MSForms,VB,MSComctlLib), ornullwhen the designer data names the class by its CLSID only.NamestringThe name of the class in its library (
TextBox), ornullwhen the designer data names the class by its CLSID only.ClassIdGuid?The class identifier, when the designer data gives one.
Properties
ClassId
The class identifier, when the designer data gives one.
public Guid? ClassId { get; init; }
Property Value
- Guid?
Library
The name of the library that defines the class (MSForms, VB, MSComctlLib), or
null when the designer data names the class by its CLSID only.
public string? Library { get; init; }
Property Value
Name
The name of the class in its library (TextBox), or null when the designer data names the
class by its CLSID only.
public string? Name { get; init; }
Property Value
Methods
ToString()
The library-qualified name of the class (MSForms.TextBox), or its class identifier in braces when the
designer data names it by its CLSID only.
public override string ToString()