|
437 | 437 | <Parameter Name="instance" Type="System.Object" Index="0" FrameworkAlternate="net-9.0" />
|
438 | 438 | </Parameters>
|
439 | 439 | <Docs>
|
440 |
| - <param name="instance">To be added.</param> |
| 440 | + <param name="instance">The object for which to get the extended type descriptor.</param> |
441 | 441 | <summary>Returns an extended custom type descriptor for the given object.</summary>
|
442 |
| - <returns>To be added.</returns> |
443 |
| - <remarks>An extended type descriptor is a custom type descriptor that offers properties that other objects have added to this object, but are not actually defined on the object. For example, in the .NET Framework Component Model, objects that implement the interface IExtenderProvider can "attach" properties to other objects that reside in the same logical container. The GetTypeDescriptor method does not return a type descriptor that provides these extra extended properties. GetExtendedTypeDescriptor returns the set of these extended properties. TypeDescriptor will automatically merge the results of these two property collections. Note that while the .NET Framework component model only supports extended properties this API can be used for extended attributes and events as well, if the type description provider supports it.</remarks> |
| 442 | + <returns>An <see cref="T:System.ComponentModel.ICustomTypeDescriptor" /> that can provide extended metadata for the object.</returns> |
| 443 | + <remarks>An extended type descriptor is a custom type descriptor that offers properties that other objects have added to this object, but are not actually defined on the object. For example, in the .NET Framework Component Model, objects that implement the interface IExtenderProvider can "attach" properties to other objects that reside in the same logical container. The GetTypeDescriptorFromRegisteredType method does not return a type descriptor that provides these extra extended properties. GetExtendedTypeDescriptorFromRegisteredType returns the set of these extended properties. TypeDescriptor will automatically merge the results of these two property collections. Note that while the .NET Framework component model only supports extended properties this API can be used for extended attributes and events as well, if the type description provider supports it.</remarks> |
444 | 444 | </Docs>
|
445 | 445 | </Member>
|
446 | 446 | <Member MemberName="GetExtenderProviders">
|
|
1035 | 1035 | <Parameter Name="instance" Type="System.Object" Index="0" FrameworkAlternate="net-9.0" />
|
1036 | 1036 | </Parameters>
|
1037 | 1037 | <Docs>
|
1038 |
| - <param name="instance">To be added.</param> |
| 1038 | + <param name="instance">An instance of the type. Can be <see langword="null" /> if no instance was passed to the <see cref="T:System.ComponentModel.TypeDescriptor" />.</param> |
1039 | 1039 | <summary>Returns a custom type descriptor for the given type or object.</summary>
|
1040 |
| - <returns>To be added.</returns> |
1041 |
| - <remarks>The objectType parameter is always valid, but the instance parameter may be <see langword="null" /> if no instance was passed to TypeDescriptor. The method should return a custom type descriptor for the object. If the method is not interested in providing type information for the object it should return base.</remarks> |
| 1040 | + <returns>An <see cref="T:System.ComponentModel.ICustomTypeDescriptor" /> that can provide metadata for the type.</returns> |
| 1041 | + <remarks>The method should return a custom type descriptor for the object. If the method is not interested in providing type information for the object it should return base.</remarks> |
1042 | 1042 | </Docs>
|
1043 | 1043 | </Member>
|
1044 | 1044 | <Member MemberName="GetTypeDescriptorFromRegisteredType">
|
|
1072 | 1072 | <Parameter Name="objectType" Type="System.Type" Index="0" FrameworkAlternate="net-9.0" />
|
1073 | 1073 | </Parameters>
|
1074 | 1074 | <Docs>
|
1075 |
| - <param name="objectType">To be added.</param> |
| 1075 | + <param name="objectType">The type of object for which to retrieve the type descriptor.</param> |
1076 | 1076 | <summary>Returns a custom type descriptor for the given type or object.</summary>
|
1077 |
| - <returns>To be added.</returns> |
1078 |
| - <remarks>The objectType parameter is always valid, but the instance parameter may be <see langword="null" /> if no instance was passed to TypeDescriptor. The method should return a custom type descriptor for the object. If the method is not interested in providing type information for the object it should return base.</remarks> |
| 1077 | + <returns>An <see cref="T:System.ComponentModel.ICustomTypeDescriptor" /> that can provide metadata for the type.</returns> |
| 1078 | + <remarks>The method should return a custom type descriptor for the object. If the method is not interested in providing type information for the object it should return base.</remarks> |
1079 | 1079 | </Docs>
|
1080 | 1080 | </Member>
|
1081 | 1081 | <Member MemberName="GetTypeDescriptorFromRegisteredType">
|
|
1117 | 1117 | <Parameter Name="instance" Type="System.Object" Index="1" FrameworkAlternate="net-9.0" />
|
1118 | 1118 | </Parameters>
|
1119 | 1119 | <Docs>
|
1120 |
| - <param name="objectType">To be added.</param> |
1121 |
| - <param name="instance">To be added.</param> |
| 1120 | + <param name="objectType">The type of object for which to retrieve the type descriptor.</param> |
| 1121 | + <param name="instance">An instance of the type. Can be <see langword="null" /> if no instance was passed to the <see cref="T:System.ComponentModel.TypeDescriptor" />.</param> |
1122 | 1122 | <summary>Returns a custom type descriptor for the given type or object.</summary>
|
1123 |
| - <returns>To be added.</returns> |
| 1123 | + <returns>An <see cref="T:System.ComponentModel.ICustomTypeDescriptor" /> that can provide metadata for the type.</returns> |
1124 | 1124 | <remarks>
|
1125 | 1125 | <para>The objectType parameter is always valid, but the instance parameter may be <see langword="null" /> if no instance was passed to TypeDescriptor. The method should return a custom type descriptor for the object. If the method is not interested in providing type information for the object it should return base.</para>
|
1126 | 1126 | <para>This method is prototyped as virtual, and by default returns a custom type descriptor that returns empty collections for all values if no parent provider was passed. If a parent provider was passed, this method will invoke the parent provider's GetTypeDescriptorFromRegisteredType method.</para>
|
|
1152 | 1152 | <Parameter Name="type" Type="System.Type" Index="0" FrameworkAlternate="net-9.0" />
|
1153 | 1153 | </Parameters>
|
1154 | 1154 | <Docs>
|
1155 |
| - <param name="type">To be added.</param> |
| 1155 | + <param name="type">The type to check if it was registered.</param> |
1156 | 1156 | <summary>Determines whether the type was registered with its provider through <see cref="M:System.ComponentModel.TypeDescriptor.RegisterType``1" />.</summary>
|
1157 |
| - <returns>To be added.</returns> |
| 1157 | + <returns><see langword="true" /> if <paramref name="type" /> is registered; otherwise, <see langword="false" />.</returns> |
1158 | 1158 | <remarks>To be added.</remarks>
|
1159 | 1159 | <exception cref="T:System.ArgumentNullException">
|
1160 | 1160 | <paramref name="type" /> is <see langword="null" />.</exception>
|
|
0 commit comments