C# Attributes: A Comprehensive Guide to System.ComponentModel Namespace Properties and Methods

2019年12月15日 2983点热度 0人点赞 1条评论
内容目录

Table of Contents:

System.ComponentModel

Attribute Namespaces and Common Classes

System.ComponentModel.DataAnnotations

ComponentModel - Classes

ComponentModel - Structs

ComponentModel - Interfaces

ComponentModel - Enums

ComponentModel - Delegates

Content is being updated

 1. System.ComponentModel

The System.ComponentModel namespace provides classes that define the run-time and design-time behavior of components and controls. This namespace includes base classes and interfaces for implementing attributes, type converters, data source binding, and component licensing.

The C# syntax is elegant, and attributes are one of its features, with usage characteristics illustrated in the following figure.

 

The author encountered many instances of attributes in the code of many experts while learning ASP.NET Core, and there are many types of attributes, o((⊙﹏⊙))o. Sometimes it can be confusing, so the author has organized information based on Microsoft’s resources (mostly copied from the official documentation).

Classes in this namespace are categorized as follows:

  • Core component classes: Component, IComponent, Container, and IContainer classes.
  • Component licensing: License, LicenseManager, LicenseProvider, and LicenseProviderAttribute classes.
  • Attributes: Attribute class.
  • Descriptors and persistence: TypeDescriptor, EventDescriptor, and PropertyDescriptor classes.
  • Type converters: TypeConverter class.

Previously, the author mixed up some concepts; attributes like [Required] and [MaxLength] are essentially classes with their constructors and methods.

The ComponentModel namespace provides System.ComponentModel.DataAnnotations, which contains attributes for data operations.

Further explanations will follow.


 2,Attribute Namespaces and Common Classes

Attributes such as [Required] and [MaxLength] are stored in the namespace System.ComponentModel.DataAnnotations. The author lists other namespaces:

Namespace Description
System.ComponentModel.Design

The classes contained in this namespace are available for developers to generate custom design-time behavior for components and the user interface required for configuring components at design time.

The design-time environment provides a system for developers to arrange components and configure their properties.

Certain components may require specific design-time only behaviors to function properly within the design-time environment.

At the same time, providing custom user interfaces to help developers configure component or complex data type values can also be very useful.

Classes and interfaces defined in this namespace can be used to generate design-time behaviors for components, access design-time services, and implement custom design-time configuration interfaces.

System.ComponentModel.Composition This namespace provides core classes that make up the Managed Extensibility Framework (MEF).
System.ComponentModel.DataAnnotations This namespace provides classes for defining attributes for ASP.NET MVC and ASP.NET data controls.
System.ComponentModel.Design.Data Classes contained in this namespace can be used to generate custom design-time behavior for data-related components.
System.ComponentModel.Design.Serialization  This namespace provides types for customizing and controlling serialization at design time.
System.ComponentModel.Composition.Hosting This namespace provides Managed Extensibility Framework (MEF) types that are useful to developers or hosts for extensible applications.
System.ComponentModel.DataAnnotations.Schema  This namespace provides support for attributes of classes used to define metadata for ASP.NET MVC and ASP.NET data controls.
System.ComponentModel.Composition.Primitives This namespace provides primitive types that serve as the foundation of the MEF programming model.
System.ComponentModel.Composition.Registration This namespace contains types that enable rule-based configuration for components of the Managed Extensibility Framework (MEF).
System.ComponentModel.Composition.ReflectionModel  This namespace provides Managed Extensibility Framework (MEF) types for designers using a reflection-based programming model.

 

The above content cannot be found in the System.ComponentModel namespace; they are all independent namespaces.

Next, the author will list all attributes from System.ComponentModel.DataAnnotations.


3,System.ComponentModel.DataAnnotations

The official description is The namespace provides classes for defining attributes for ASP.NET MVC and ASP.NET data controls.

This is commonly encountered during web development. In practice, we can add these attributes to Models in projects such as Console applications, WinForms, etc., to control property inputs. However, it doesn’t mean it will be effective in a console application, just that it can be utilized. Further explanations will follow.

The attributes in this namespace include common data validation attributes used in ASP.NET Core such as [Required], [Response], [Phone], etc.

AssociatedMetadataTypeTypeDescriptionProvider

Extends the metadata information of a class by adding attributes and property information defined in an associated class.

AssociationAttribute

Specifies that an entity member represents a data relationship (such as a foreign key relationship).

BindableTypeAttribute

Specifies whether a type is typically used for binding.

CompareAttribute

Provides an attribute for comparing two properties.

ConcurrencyCheckAttribute

Specifies that a property participates in optimistic concurrency checks.

RequiredAttribute

指示某个数据字段是必需的。

StringLengthAttribute

指示字符串字段的最大和最小长度。

URLAttribute

验证 URL 地址。

MaxLengthAttribute

Specifies the maximum length of array or string data allowed in the property.

MetadataTypeAttribute

Specifies the metadata class to associate with the data model class.

MinLengthAttribute

Specifies the minimum length of array or string data allowed in the property.

PhoneAttribute

Specifies that the data field value is a valid phone number format.

RangeAttribute

Specifies the numeric range constraints for the value of the data field.

RegularExpressionAttribute

Specifies that the value of the data field must match the specified regular expression in ASP.NET Dynamic Data.

RequiredAttribute

Specifies that the data field value is required.

ScaffoldColumnAttribute

Specifies whether the class or data column is to be scaffolded.

ScaffoldTableAttribute

Specifies whether the class or data table is to be scaffolded.

StringLengthAttribute

Specifies the minimum and maximum length of characters allowed in the data field.

TimestampAttribute

Specifies that the data type of the column is a row version.

UIHintAttribute

Specifies the template or user control that dynamic data uses to display the data field.

UrlAttribute

Provides URL validation.

ValidationAttribute

Acts as the base class for all validation attributes.

ValidationContext

Describes the context in which a validation check is performed.

ValidationException

Represents an exception that occurs when a data field is validated using the ValidationAttribute class.

ValidationResult

Represents a container for the result of a validation request.

Validator

Defines a helper class that can be used to validate objects, properties, and methods when associated with ValidationAttribute attributes.

Usage Example (ignore the Attribute afterwards)

using System.ComponentModel.DataAnnotations;

namespace XFAISDK.Model.Response { public class ResponseModel { [Required] public int Code { get; set; } public string Result { get; set; } public dynamic Data { get; set; } } }

Due to the numerous attributes in the System.ComponentModel.DataAnnotations namespace, the author only demonstrates Required.

Required

[Required] specifies that a data field value is required and cannot be null when user input is provided.

It has several usage forms,

Attribute

Usage example is as follows

    [Required(ErrorMessage = "Title is required.")]
    public object Title;

Other attributes include:

AllowEmptyStrings

Gets or sets a value indicating whether empty strings are allowed.

ErrorMessage

Gets or sets a string that is associated with the validation control when validation fails.

(Inherited from ValidationAttribute)

ErrorMessageResourceName

Gets or sets the name of the error message resource to use to look up the ErrorMessageResourceType property value when validation fails.

(Inherited from ValidationAttribute)

ErrorMessageResourceType

Gets or sets the resource type used to look up error messages when validation fails.

(Inherited from ValidationAttribute)

ErrorMessageString

Gets the localized validation error message.

(Inherited from ValidationAttribute)

RequiresValidationContext

Gets a value indicating whether the attribute requires a validation context.

(Inherited from ValidationAttribute)

TypeId

When implemented in a derived class, gets the unique identifier for this Attribute.

(Inherited from Attribute)

 

Methods 

(Inherited from Attribute)

Equals(Object)

Returns a value indicating whether this instance is equal to a specified object.

(Inherited from Attribute)

FormatErrorMessage(String)

Formats the error message based on the data field where the error occurred.

(Inherited from ValidationAttribute)

GetHashCode()

Returns the hash code for this instance.

(Inherited from Attribute)

GetType()

Gets the Type of the current instance.

(Inherited from Object)

GetValidationResult(Object, ValidationContext)

Checks whether the specified value is valid for the current validation attribute.

(Inherited from ValidationAttribute)

IsDefaultAttribute()

When overridden in a derived class, indicates whether the value of this instance is the default value of the derived class.

(Inherited from Attribute)

IsValid(Object)

Checks whether the value of the required data field is not null.

IsValid(Object, ValidationContext)

Validates the specified value against the current validation attribute.

(Inherited from ValidationAttribute)

Match(Object)

When overridden in a derived class, returns a value indicating whether this instance is equal to a specified object.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Validate(Object, String)

Validates the specified object.

(Inherited from ValidationAttribute)

Validate(Object, ValidationContext)

Validates the specified object.

(Inherited from ValidationAttribute)

Most of its methods are inherited from the base class, and usage is as follows

    public class ResponseModel
    {
        RequiredAttribute RequiredTest = new RequiredAttribute();
        public string TestA(object a)
        {
            if (RequiredTest.Match(a))
            {
                return "true";
            }
            return "false";
        }
        [Required()]
        public int Code { get; set; }
        public string Result { get; set; }
        public dynamic Data { get; set; }
    }
}

The author is currently unclear about the application scenarios of the methods of attributes, only understanding the use of attributes properties.

 

For other namespaces, please refer to the official documentation.


 4, Classes

。</span></span></p>
</td>
</tr>
<tr id="System_ComponentModel_Container" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.container?view=netframework-4.7.2" data-linktype="relative-path">Container</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="70f61-101">Encapsulates zero or more components.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_ContainerFilterService" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.containerfilterservice?view=netframework-4.7.2" data-linktype="relative-path">ContainerFilterService</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="3a5ee-101">Provides a base class for services that filter containers.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_CultureInfoConverter" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.cultureinfoconverter?view=netframework-4.7.2" data-linktype="relative-path">CultureInfoConverter</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="9e263-101">Provides a type converter that can convert <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.globalization.cultureinfo?view=netframework-4.7.2" data-linktype="relative-path">CultureInfo</a> objects to and from other representations.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_CurrentChangedEventManager" data-moniker=" netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.currentchangedeventmanager?view=netframework-4.7.2" data-linktype="relative-path">CurrentChangedEventManager</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="80cf0-101">Provides an implementation for <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.windows.weakeventmanager?view=netframework-4.7.2" data-linktype="relative-path">WeakEventManager</a> so that listeners can attach to the <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.icollectionview.currentchanged?view=netframework-4.7.2" data-linktype="relative-path">CurrentChanged</a> event using the "weak event listener" pattern.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_CurrentChangingEventArgs" data-moniker=" netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.currentchangingeventargs?view=netframework-4.7.2" data-linktype="relative-path">CurrentChangingEventArgs</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="a1467-101">Provides information about the <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.icollectionview.currentchanging?view=netframework-4.7.2" data-linktype="relative-path">CurrentChanging</a> event.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_CurrentChangingEventManager" data-moniker=" netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.currentchangingeventmanager?view=netframework-4.7.2" data-linktype="relative-path">CurrentChangingEventManager</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="bbdf2-101">Provides an implementation for <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.windows.weakeventmanager?view=netframework-4.7.2" data-linktype="relative-path">WeakEventManager</a> so that listeners can attach to the <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.icollectionview.currentchanging?view=netframework-4.7.2" data-linktype="relative-path">CurrentChanging</a> event using the "weak event listener" pattern.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_CustomTypeDescriptor" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.customtypedescriptor?view=netframework-4.7.2" data-linktype="relative-path">CustomTypeDescriptor</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="f99cc-101">Provides a simple default implementation of the <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.icustomtypedescriptor?view=netframework-4.7.2" data-linktype="relative-path">ICustomTypeDescriptor</a> interface.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_DataErrorsChangedEventArgs" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-1.0 netstandard-1.1 netstandard-1.2 netstandard-1.3 netstandard-1.4 netstandard-1.6 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.dataerrorschangedeventargs?view=netframework-4.7.2" data-linktype="relative-path">DataErrorsChangedEventArgs</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="3560e-101">Provides data for the <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.inotifydataerrorinfo.errorschanged?view=netframework-4.7.2" data-linktype="relative-path">ErrorsChanged</a> event.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_DataObjectAttribute" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.dataobjectattribute?view=netframework-4.7.2" data-linktype="relative-path">DataObjectAttribute</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="05d64-101">Identifies a type as suitable for binding to an <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ui.webcontrols.objectdatasource?view=netframework-4.7.2" data-linktype="relative-path">ObjectDataSource</a> object. <span data-ttu-id="05d64-102">This class cannot be inherited.</span></span></p>
</td>
</tr>
<tr id="System_ComponentModel_DataObjectFieldAttribute" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.dataobjectfieldattribute?view=netframework-4.7.2" data-linktype="relative-path">DataObjectFieldAttribute</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="65ca4-101">Provides metadata for properties that represent data fields. <span data-ttu-id="65ca4-102">This class cannot be inherited.</span></span></p>
</td>
</tr>

</span></span></p>
</td>
</tr>
<tr id="System_ComponentModel_DataObjectMethodAttribute" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.dataobjectmethodattribute?view=netframework-4.7.2" data-linktype="relative-path">DataObjectMethodAttribute</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="2098d-101">Identifies a data operation method exposed by a type, the type of operation performed by the method, and whether the method is the default data method. <span data-ttu-id="2098d-102">This class cannot be inherited.</span></span></p>
</td>
</tr>
<tr id="System_ComponentModel_DateTimeConverter" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.datetimeconverter?view=netframework-4.7.2" data-linktype="relative-path">DateTimeConverter</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="40e3e-101">Provides a type converter to convert <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.datetime?view=netframework-4.7.2" data-linktype="relative-path">DateTime</a> objects to and from other representations.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_DateTimeOffsetConverter" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.datetimeoffsetconverter?view=netframework-4.7.2" data-linktype="relative-path">DateTimeOffsetConverter</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="39c7c-101">Provides a type converter to convert <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.datetimeoffset?view=netframework-4.7.2" data-linktype="relative-path">DateTimeOffset</a> structures to and from other representations.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_DecimalConverter" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.decimalconverter?view=netframework-4.7.2" data-linktype="relative-path">DecimalConverter</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="9b148-101">Provides a type converter to convert <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.decimal?view=netframework-4.7.2" data-linktype="relative-path">Decimal</a> objects to and from other representations.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_DefaultBindingPropertyAttribute" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.defaultbindingpropertyattribute?view=netframework-4.7.2" data-linktype="relative-path">DefaultBindingPropertyAttribute</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="5579b-101">Specifies the default binding property of a component. <span data-ttu-id="5579b-102">This class cannot be inherited.</span></span></p>
</td>
</tr>
<tr id="System_ComponentModel_DefaultEventAttribute" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.defaulteventattribute?view=netframework-4.7.2" data-linktype="relative-path">DefaultEventAttribute</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="52066-101">Specifies the default event of a component.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_DefaultPropertyAttribute" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.defaultpropertyattribute?view=netframework-4.7.2" data-linktype="relative-path">DefaultPropertyAttribute</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="e1719-101">Specifies the default property of a component.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_DefaultValueAttribute" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-1.0 netstandard-1.1 netstandard-1.2 netstandard-1.3 netstandard-1.4 netstandard-1.5 netstandard-1.6 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.defaultvalueattribute?view=netframework-4.7.2" data-linktype="relative-path">DefaultValueAttribute</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="56f77-101">Specifies the default value for a property.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_DependencyPropertyDescriptor" data-moniker=" netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.dependencypropertydescriptor?view=netframework-4.7.2" data-linktype="relative-path">DependencyPropertyDescriptor</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="a87b8-101">Provides an extension of <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.propertydescriptor?view=netframework-4.7.2" data-linktype="relative-path">PropertyDescriptor</a> to describe additional attribute characteristics of dependency properties.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_DescriptionAttribute" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.descriptionattribute?view=netframework-4.7.2" data-linktype="relative-path">DescriptionAttribute</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="9caf0-101">Specifies a description for a property or event.</span></p>
</td>
</tr>

。 This class cannot be inherited.

5,Structs

AddingNewEventArgs

Provides data for the AddingNew event.

AmbientValueAttribute

Specifies a value to be passed to a property so that the property gets its value from another source. This is called “ambient.” This class cannot be inherited.

ArrayConverter

Provides a type converter that can convert Array objects to and from other representations.

AsyncCompletedEventArgs

Provides data for the MethodNameCompleted event.

AsyncOperation

Tracks the lifetime of an asynchronous operation.

。</span></p>
</td>
</tr>
<tr id="System_ComponentModel_AsyncOperationManager" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.asyncoperationmanager?view=netframework-4.7.2" data-linktype="relative-path">AsyncOperationManager</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="ad7a4-101">Provides concurrency management for classes that support asynchronous method calls. &nbsp;<span data-ttu-id="ad7a4-102">This class cannot be inherited.</span></span></p>
</td>
</tr>
<tr id="System_ComponentModel_AttributeCollection" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.attributecollection?view=netframework-4.7.2" data-linktype="relative-path">AttributeCollection</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="c3672-101">Represents a collection of attributes.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_AttributeProviderAttribute" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.attributeproviderattribute?view=netframework-4.7.2" data-linktype="relative-path">AttributeProviderAttribute</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="f1839-101">Enables attribute redirection. &nbsp;<span data-ttu-id="f1839-102">This class cannot be inherited.</span></span></p>
</td>
</tr>
<tr id="System_ComponentModel_BackgroundWorker" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.backgroundworker?view=netframework-4.7.2" data-linktype="relative-path">BackgroundWorker</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="ceb81-101">Executes operations on a separate thread.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_BaseNumberConverter" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.basenumberconverter?view=netframework-4.7.2" data-linktype="relative-path">BaseNumberConverter</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="7b061-101">Provides a type converter for base types that are not floating-point numeric types.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_BindableAttribute" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.bindableattribute?view=netframework-4.7.2" data-linktype="relative-path">BindableAttribute</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="ca683-101">Indicates whether a member is typically used for binding. &nbsp;<span data-ttu-id="ca683-102">This class cannot be inherited.</span></span></p>
</td>
</tr>
<tr id="System_ComponentModel_BindingList_1" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.bindinglist-1?view=netframework-4.7.2" data-linktype="relative-path">BindingList&lt;T&gt;</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="3d5b6-102">Provides a generic collection that supports data binding.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_BooleanConverter" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.booleanconverter?view=netframework-4.7.2" data-linktype="relative-path">BooleanConverter</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="da760-101">Provides a type converter that converts to and from <a class="xref" href="https://docs.microsoft.com/en-us/dotnet/api/system.boolean?view=netframework-4.7.2" data-linktype="relative-path">Boolean</a> objects and other various representations.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_BrowsableAttribute" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.browsableattribute?view=netframework-4.7.2" data-linktype="relative-path">BrowsableAttribute</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="0290a-101">Specifies whether a property or event should be displayed in the “Properties” window.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_ByteConverter" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.byteconverter?view=netframework-4.7.2" data-linktype="relative-path">ByteConverter</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="1494c-101">Provides a type converter that converts between 8-bit unsigned integer objects and other various representations.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_CancelEventArgs" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.canceleventargs?view=netframework-4.7.2" data-linktype="relative-path">CancelEventArgs</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="b39bf-101">Provides data for cancelable events.</span>

CategoryAttribute

Specifies the category name used to group properties or events when displayed in a PropertyGrid control set to "Categorized" mode.

CharConverter

Provides a type converter to convert Unicode characters to and from various other representations.

CollectionChangeEventArgs

Provides data for the CollectionChanged event.

CollectionConverter

Provides a type converter to convert collections to and from various other representations.

ComplexBindingPropertiesAttribute

Specifies the data source and data member properties of a component that supports complex data binding. This class cannot be inherited.

Component

Provides a base implementation of the IComponent interface and enables object sharing across applications.

ComponentCollection

Provides a read-only container for a collection of IComponent objects.

ComponentConverter

Provides a type converter to convert components to and from various other representations.

ComponentEditor

Provides a base class for a custom component editor.

ComponentResourceManager

Provides simple functionality for enumerating resources for a component or object. ComponentResourceManager class is a ResourceManager

EventDescriptor

提供元数据的事件描述符。

EventHandlerList

为事件处理程序提供一个高效的列表。

ExpandableObjectConverter

允许对象在某些环境中以更具体的方式进行表示。

FormatConverter

提供在某些格式之间进行转换的类型转换器。

Int16Converter

提供将 Int16 对象与其他表示形式间的转换。

Int32Converter

提供将 Int32 对象与其他表示形式间的转换。

Int64Converter

提供将 Int64 对象与其他表示形式间的转换。

LicenseProvider

为组件提供许可证服务的基类。

LockTransaction

用于管理组件的锁定事务的类。

LunarDate

表示农历日期的结构。

MaskType

指定掩码类型。

MediaType

定义媒体类型的结构。

PropertyDescriptor

提供有关属性的元数据。

ProvidePropertyAttribute

指定提供特定属性值的属性。

ReferenceConverter

允许将对象引用表示为字符串类型的类型转换器。

RunTimeLicenseContext

描述组件运行时许可证的上下文。

SingleConverter

提供将 single 对象与其他表示形式间的转换。

StandardValuesCollection

封装标准值集合。

TypeConverter

提供类型转换的支持。

TypeConverterAttribute

指定类型转换器的类型。

TypedListAttribute

指定数据源的数据类型。

TypeDescriptionProvider

提供对类型描述的支持。

UITypeEditor

允许在用户界面上编辑属性的自定义编辑器基类。

ValidatedEventArgs

表示已验证的事件参数。

Validator

提供用于验证属性或组件状态的逻辑。

ValidationEventArgs

表示验证事件的参数。

ValidationHandler

用于调度验证处理程序的类。

Win32Exception

表示 Win32 错误的异常。

EnumConverter

Provides a type converter that can convert to and from various types representing an Enum object.

ErrorsChangedEventManager

Provides a WeakEventManager  implementation for attaching listeners for the ErrorsChanged  event using a weak event listener pattern.

EventDescriptor

Provides information about an event.

EventDescriptorCollection

Represents a collection of EventDescriptor objects.

EventHandlerList

Provides a simple list of delegates.  This class cannot be inherited.

ExpandableObjectConverter

Provides a type converter that can convert between expandable objects and various other representations.

ExtenderProvidedPropertyAttribute

Specifies a property provided by an extender provider.  This class cannot be inherited.

GroupDescription

Provides an abstract base class for types that describe how to group items in a collection.

GuidConverter

Provides a type converter that can convert to and from various types representing a Guid object.

HandledEventArgs

Provides data for events that can be fully handled in an event handler.

。</span></p>
</td>
</tr>
<tr id="System_ComponentModel_ImmutableObjectAttribute" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.immutableobjectattribute?view=netframework-4.7.2" data-linktype="relative-path">ImmutableObjectAttribute</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="f490a-101">Specifies that an object has no editable child properties. &nbsp;<span data-ttu-id="f490a-102">This class cannot be inherited.</span></span></p>
</td>
</tr>
<tr id="System_ComponentModel_InheritanceAttribute" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.inheritanceattribute?view=netframework-4.7.2" data-linktype="relative-path">InheritanceAttribute</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="9381d-101">Indicates whether the component associated with this attribute has been inherited from a base class. &nbsp;<span data-ttu-id="9381d-102">This class cannot be inherited.</span></span></p>
</td>
</tr>
<tr id="System_ComponentModel_InitializationEventAttribute" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.initializationeventattribute?view=netframework-4.7.2" data-linktype="relative-path">InitializationEventAttribute</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="4413a-101">Specifies the event that is raised during initialization. &nbsp;<span data-ttu-id="4413a-102">This class cannot be inherited.</span></span></p>
</td>
</tr>
<tr id="System_ComponentModel_InstallerTypeAttribute" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.installertypeattribute?view=netframework-4.7.2" data-linktype="relative-path">InstallerTypeAttribute</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="25c9a-101">Specifies the installer for the component being installed.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_InstanceCreationEditor" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.instancecreationeditor?view=netframework-4.7.2" data-linktype="relative-path">InstanceCreationEditor</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="69060-101">Creates instances of a specific type property from a drop-down box in the <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.windows.forms.propertygrid?view=netframework-4.7.2" data-linktype="relative-path">PropertyGrid</a>. </span></p>
</td>
</tr>
<tr id="System_ComponentModel_Int16Converter" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.int16converter?view=netframework-4.7.2" data-linktype="relative-path">Int16Converter</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="2a49b-101">Provides a type converter to convert 16-bit signed integer objects to and from other representations.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_Int32Converter" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.int32converter?view=netframework-4.7.2" data-linktype="relative-path">Int32Converter</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="854e0-101">Provides a type converter to convert 32-bit signed integer objects to and from other representations.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_Int64Converter" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.int64converter?view=netframework-4.7.2" data-linktype="relative-path">Int64Converter</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="abce6-101">Provides a type converter to convert 64-bit signed integer objects to and from various representations.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_InvalidAsynchronousStateException" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.invalidasynchronousstateexception?view=netframework-4.7.2" data-linktype="relative-path">InvalidAsynchronousStateException</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="36971-101">This exception is thrown when the thread that should execute an operation no longer exists or there is no message loop.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_InvalidEnumArgumentException" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.invalidenumargumentexception?view=netframework-4.7.2" data-linktype="relative-path">InvalidEnumArgumentException</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="c9e73-101">The exception thrown when an invalid argument is passed (for an enumeration).</span></p>
</td>
</tr>
<tr id="System_ComponentModel_ItemPropertyInfo" data-moniker=" netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.itempropertyinfo?view=netframework-4.7.2" data-linktype="relative-path">ItemPropertyInfo</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="e1ab6-101">Contains information about the property.

。</span></p>
</td>
</tr>
<tr id="System_ComponentModel_License" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.license?view=netframework-4.7.2" data-linktype="relative-path">License</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="7f6f0-101">Provides an&nbsp;<code data-dev-comment-type="langword">abstract</code>&nbsp;base class for all licenses.&nbsp;<span data-ttu-id="7f6f0-102">Grants a license for specific instances of a component.</span></span></p>
</td>
</tr>
<tr id="System_ComponentModel_LicenseContext" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.licensecontext?view=netframework-4.7.2" data-linktype="relative-path">LicenseContext</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="48cc1-101">Specifies when a licensed object can be used and provides a means to obtain additional services required to support running licenses within its domain.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_LicenseException" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.licenseexception?view=netframework-4.7.2" data-linktype="relative-path">LicenseException</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="b9928-101">Represents an exception that is thrown when a component cannot be granted a license.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_LicenseManager" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.licensemanager?view=netframework-4.7.2" data-linktype="relative-path">LicenseManager</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="f6d8d-101">Provides properties and methods to add licenses to components and manage&nbsp;<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.licenseprovider?view=netframework-4.7.2" data-linktype="relative-path">LicenseProvider</a>.&nbsp;<span data-ttu-id="f6d8d-102">This class cannot be inherited.</span></span></p>
</td>
</tr>
<tr id="System_ComponentModel_LicenseProvider" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.licenseprovider?view=netframework-4.7.2" data-linktype="relative-path">LicenseProvider</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="79f22-101">Provides an&nbsp;<code data-dev-comment-type="langword">abstract</code>&nbsp;base class for implementing license providers.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_LicenseProviderAttribute" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.licenseproviderattribute?view=netframework-4.7.2" data-linktype="relative-path">LicenseProviderAttribute</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="7ecf6-101">Specifies the&nbsp;<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.licenseprovider?view=netframework-4.7.2" data-linktype="relative-path">LicenseProvider</a>&nbsp;to be used with the class.&nbsp;<span data-ttu-id="7ecf6-102">This class cannot be inherited.</span></span></p>
</td>
</tr>
<tr id="System_ComponentModel_LicFileLicenseProvider" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.licfilelicenseprovider?view=netframework-4.7.2" data-linktype="relative-path">LicFileLicenseProvider</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="40168-101">Provides an implementation of the&nbsp;<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.licenseprovider?view=netframework-4.7.2" data-linktype="relative-path">LicenseProvider</a>&nbsp;.&nbsp;<span data-ttu-id="40168-102">The provider works similarly to the Microsoft .NET Framework standard licensing model.</span></span></p>
</td>
</tr>
<tr id="System_ComponentModel_ListBindableAttribute" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.listbindableattribute?view=netframework-4.7.2" data-linktype="relative-path">ListBindableAttribute</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="0b239-101">Specifies that a list can be used as a data source.&nbsp;<span data-ttu-id="0b239-102">Visual designers should use this attribute to determine whether to display a specific list in data binding selectors.&nbsp;<span data-ttu-id="0b239-103">This class cannot be inherited.</span></span></span></p>
</td>
</tr>
<tr id="System_ComponentModel_ListChangedEventArgs" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.listchangedeventargs?view=netframework-4.7.2" data-linktype="relative-path">ListChangedEventArgs</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="93d73-101">Provides data for the&nbsp;<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.ibindinglist.listchanged?view=netframework-4.7.2" data-linktype="relative-path">ListChanged</a>&nbsp;event.</span></p>
</td>
</tr>
<tr id="System_ComponentModel_ListSortDescription" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5.1 netframework-4.5.2 netframework-4.5 netframework-4.6.1 netframework-4.6.2 netframework-4.6 netframework-4.7.1 netframework-4.7.2 netframework-4.7 netframework-4.8 netstandard-2.0 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0 ">
<td>
<p><span class="lang-csharp break-text" style="font-size: 14px;"><a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.listsortdescription?view=netframework-4.7.2" data-linktype="relative-path">ListSortDescription</a></span></p>
</td>
<td>
<p><span style="font-size: 14px;" data-ttu-id="64791-101">Provides information about sorting operations applied to a data source.</span></p>
</td>
</tr>

ListSortDescriptionCollection

Represents a collection of ListSortDescription objects.

LocalizableAttribute

Specifies whether a property should be localized. This class cannot be inherited.

LookupBindingPropertiesAttribute

Specifies properties that support binding based on lookup. This class cannot be inherited.

MarshalByValueComponent

Implements IComponent and provides a base implementation of a component that can be controlled remotely and is marshaled by value (passed as a serialized copy of the object).

MaskedTextProvider

Represents a mask-editing service that can be used by any number of controls that support masks (such as the MaskedTextBox control).

MemberDescriptor

Represents a class member, such as a property or event. This is an abstract base class.

MergablePropertyAttribute

Specifies that the property can be combined with properties of other objects in the "Properties" window.

MultilineStringConverter

Provides a type converter that converts multi-line strings to single-line strings.

NestedContainer

Provides a base implementation of the INestedContainer interface, allowing a container to own an associated component.

NotifyParentPropertyAttribute

Indicates that when the value of the property to which this attribute is applied changes, the parent property should be notified. This class cannot be inherited.

NullableConverter

Provides automatic conversion between types that can be null and their underlying primitive types.

ParenthesizePropertyNameAttribute

Indicates whether the name of the associated property should be displayed with parentheses in the "Properties" window. This class cannot be inherited.

PasswordPropertyTextAttribute

Indicates that the text representation of the object is hidden by characters such as asterisks. This class cannot be inherited.

ProgressChangedEventArgs

Provides data for the ProgressChanged event.

PropertyChangedEventArgs

Provides data for the PropertyChanged event.

PropertyChangedEventManager

Provides an implementation of the WeakEventManager to allow "weak event listeners" to attach listeners for the PropertyChanged event.

PropertyChangingEventArgs

Provides data for the PropertyChanging event.

PropertyDescriptor

Provides an abstraction for properties of a class.

PropertyDescriptorCollection

Represents a collection of PropertyDescriptor objects.

PropertyFilterAttribute

Specifies which properties should be reported by the type descriptor, particularly by the GetProperties(Object) method.

PropertyTabAttribute

Identifies the property tab that should be displayed for a specified class.

ProvidePropertyAttribute

Specifies the names of properties provided to other components by implementations of IExtenderProvider. This class cannot be inherited.

ReadOnlyAttribute

Specifies whether the property associated with this attribute is a read-only property or a read/write property. This class cannot be inherited.

RecommendedAsConfigurableAttribute

Specifies that the property can be used as an application setting.

ReferenceConverter

Provides a type converter that can convert object references to and from other representations.

RefreshEventArgs

Provides data for the Refreshed event.

RefreshPropertiesAttribute

Indicates that the property grid should be refreshed when the associated property value changes. This class cannot be inherited.

RunInstallerAttribute

Specifies whether the Visual Studio custom action installer or the Installutil.exe (Installer Tool) should be called when the assembly is installed.

RunWorkerCompletedEventArgs

Provides data for the MethodNameCompleted event.

SByteConverter

Provides a type converter to convert 8-bit unsigned integer objects to and from other types, specifically strings.

SettingsBindableAttribute

Specifies when a component's property can be bound to application settings.

SingleConverter

Provides a type converter to convert single-precision floating-point number objects to and from various other representations.

SortDescriptionCollection

Represents a collection of SortDescription objects.

StringConverter

Provides a type converter to convert string objects to and from other representations.

SyntaxCheck

Provides methods to verify that computer names and paths conform to specific syntax. This class cannot be inherited.

TimeSpanConverter

Provides a type converter to convert TimeSpan objects to and from other representations.

ToolboxItemAttribute

Represents an attribute for toolbox items.

ToolboxItemFilterAttribute

Specifies the filter string and the filter type for toolbox items.

TypeConverter

Provides a way to convert types of values to other types and to access standard values and sub-properties.

TypeConverter.SimplePropertyDescriptor

Represents an abstract class that provides a property descriptor for objects that do not have properties.

TypeConverter.StandardValuesCollection

Represents a collection of values.

TypeConverterAttribute

Specifies which type should be used as a converter for the object to which this attribute is bound.

TypeDescriptionProvider

Provides supplemental metadata to the TypeDescriptor.

TypeDescriptionProviderAttribute

Specifies a custom type description provider for the class. This class cannot be inherited.

TypeDescriptor

Provides information about the characteristics of components, such as their attributes, properties, and events. This class cannot be inherited.

TypeListConverter

Provides a type converter to fill available types in a list box.

UInt16Converter

Provides a type converter to convert between 16-bit unsigned integer objects and other representations.

UInt32Converter

Provides a type converter to convert between 32-bit unsigned integer objects and other various representations.

UInt64Converter

Provides a type converter to convert between 64-bit unsigned integer objects and other representations.

WarningException

Specifies an exception that is handled as a warning rather than an error.

Win32Exception

Throws an exception for Win32 error codes.

SortDescription

Defines the direction and property name to use as the sort criteria for a collection.

6,Interfaces

IBindingList

Provides functionality required for supporting complex scenarios and simple scenarios when binding to a data source.

IBindingListView

Extends the IBindingList interface by providing advanced sorting and filtering capabilities.

ICancelAddNew

Adds transactional functionality when adding new items to a collection.

IChangeTracking

Defines the mechanism for querying changes to an object and resetting its changed state.

ICollectionView

Provides a way to manage current record management, custom sorting, filtering, and grouping for a collection.

ICollectionViewFactory

An interface that can be implemented by a collection to create a view of its data. Typically, user code does not call methods on this interface.

ICollectionViewLiveShaping

Defines properties that enable CollectionView to sort, group, and filter.

IComNativeDescriptorHandler

Provides a top-level mapping layer between COM objects and TypeDescriptor.

IComponent

Provides the functionality required for all components.

IContainer

Provides functionality for a container. A container is an object that logically contains zero or more components.

ICustomTypeDescriptor

Provides an interface to object to provide dynamic custom type information.

IDataErrorInfo

Provides functionality that provides custom error information that can be bound to user interfaces.

IEditableCollectionView

Defines methods and properties that a CollectionView implements to provide editing functionality to a collection.

IEditableCollectionViewAddNewItem

Defines methods and properties that a CollectionView implements to specify adding items of a specific type.

IEditableObject

Provides functionality to commit or rollback changes made to an object used as a data source.

IExtenderProvider

Defines an interface for extending properties to other components in the container.

IIntellisenseBuilder

Provides functionality for retrieving the name of builders and displaying the interface of those builders.

IItemProperties

Defines properties that provide information related to properties of objects.

IListSource

Provides functionality for objects to return lists that can be bound to data sources.

INestedContainer

Provides functionality for nested containers that logically can contain zero or more other components, which are owned by a parent component.

INestedSite

Provides functionality for retrieving the full nested name of the component.

INotifyDataErrorInfo

Defines members that a data entity class can implement to provide support for custom synchronous and asynchronous validation.

7,Enums

BindableSupport

Specifies a value to indicate whether a property can be bound to a data element or another property.

BindingDirection

Specifies whether the binding of a template can occur in one-way or two-way.

CollectionChangeAction

Specifies how a collection changes.

DataObjectMethodType

Identifies the type of data operation that a method performs, according to the specification applied from the DataObjectMethodAttribute.

DesignerSerializationVisibility

Specifies the visibility of a property to the designer serialization process.

EditorBrowsableState

Specifies the browsability state of a property or method from within the editor.

InheritanceLevel

Defines an identifier for the level of inheritance.

LicenseUsageMode

Specifies when a License can be used.

ListChangedType

Specifies how a list has changed.

ListSortDirection

Specifies the direction of a sort operation.

MaskedTextResultHint

Specifies a brief description of the value that describes the result of the masked text parsing operation.

NewItemPlaceholderPosition

Specifies the display position of the placeholder for new items in a collection.

PropertyFilterOptions

Specifies which properties should be reported by the type descriptor, particularly by the GetProperties(Object) method. This enumeration is used to specify the value of the Filter attribute.

PropertyTabScope

Defines an identifier that indicates the scope of the tabs in the "Properties" window.

RefreshProperties

Defines an identifier that indicates the type of refresh for the "Properties" window.

ToolboxItemFilterType

Defines an identifier used to indicate the filter type used by ToolboxItemFilterAttribute.

8,Delegates

AddingNewEventHandler

Represents the method that will handle the AddingNew event.

AsyncCompletedEventHandler

Represents the method that will handle the Completed event of an asynchronous operation.

CancelEventHandler

Represents the method that will handle cancelable events.

CollectionChangeEventHandler

Represents the method that will handle the CollectionChanged event, which is raised when an element is added to or removed from a collection.

CurrentChangingEventHandler

Represents the method that will handle the CurrentChanging event.

DoWorkEventHandler

Represents the method that will handle the DoWork event. This class cannot be inherited.

HandledEventHandler

Represents a method that can handle events that may need further processing after the event handler returns.

ListChangedEventHandler

Represents the method that will handle the IBindingList class's ListChanged event.

ProgressChangedEventHandler

Represents the method that will handle the BackgroundWorker class's ProgressChanged event. This class cannot be inherited.

PropertyChangedEventHandler

Represents the method that will handle the PropertyChanged event, which is raised when a property on a component changes.

PropertyChangingEventHandler

Represents the method that will handle the PropertyChanging event of the INotifyPropertyChanging interface.

RefreshEventHandler

Represents the method that will handle the Refreshed event or a Type event that occurs when a component is changed at design time.

RunWorkerCompletedEventHandler

Represents the method that will handle the RunWorkerCompleted event of the BackgroundWorker class.


 

痴者工良

高级程序员劝退师

文章评论