From eb70030a2960d7ee421cc63225cbdabc4ef2ecc5 Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Mon, 7 Oct 2024 09:22:11 -0700 Subject: [PATCH 1/2] Update EnumConverter.xml (#10500) --- xml/System.ComponentModel/EnumConverter.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xml/System.ComponentModel/EnumConverter.xml b/xml/System.ComponentModel/EnumConverter.xml index 8443c7df80a..26ef5073575 100644 --- a/xml/System.ComponentModel/EnumConverter.xml +++ b/xml/System.ComponentModel/EnumConverter.xml @@ -62,10 +62,8 @@ For more information about type converters, see the base class and [How to: Implement a Type Converter](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ayybcxe5(v=vs.120)). > [!NOTE] -> You should never create an instance of an . Instead, call the method of the class. For more information, see the examples in the base class. - - - +> You should never create an instance of an . Instead, call the method of the class. For more information, see the examples in the base class. + ## Examples The following code example converts a variable of type to a string, and vice versa. The example requires that you have declared an called `Servers` and that it has the following members: @@ -140,6 +138,8 @@ Windows=1, Exchange=2, BizTalk=3 A that represents the type of enumeration to associate with this enumeration converter. Initializes a new instance of the class for the given type. To be added. + .NET 9 and later versions: is not of an enum type. + From f1c3d27e6024c767d369ecaff3315b2465b018b3 Mon Sep 17 00:00:00 2001 From: Steve Harter Date: Mon, 7 Oct 2024 13:15:13 -0500 Subject: [PATCH 2/2] Add missing doc for ICustomTypeDescriptor (#10498) --- .../ICustomTypeDescriptor.xml | 43 +++++++++++++++---- 1 file changed, 34 insertions(+), 9 deletions(-) diff --git a/xml/System.ComponentModel/ICustomTypeDescriptor.xml b/xml/System.ComponentModel/ICustomTypeDescriptor.xml index 4cd0123b456..4cb0f786580 100644 --- a/xml/System.ComponentModel/ICustomTypeDescriptor.xml +++ b/xml/System.ComponentModel/ICustomTypeDescriptor.xml @@ -332,9 +332,16 @@ - Gets a type converter for this object that may be registered. - To be added. - To be added. + Returns a type converter for this instance of a component that might be registered. + A that is the converter for this object, or if there is no for this object. + + . + + ]]> + @@ -678,9 +685,18 @@ - Gets the events for this instance of a component that may be registered. - To be added. - To be added. + Returns the events for this instance of a component that might be registered. + An that represents the events for this component instance. + + if no properties are specified. This method should never return `null`. + + ]]> + @@ -856,9 +872,18 @@ - Gets the properties for this instance of a component that may be registered. - To be added. - To be added. + Returns the properties for this instance of a component that might be registered. + A that represents the properties for this component instance. + + if no properties are specified. This method should never return `null`. + + ]]> +