diff --git a/xml/Microsoft.VisualBasic/FileSystem.xml b/xml/Microsoft.VisualBasic/FileSystem.xml index 67f5e3f3bef..b212bfbaa72 100644 --- a/xml/Microsoft.VisualBasic/FileSystem.xml +++ b/xml/Microsoft.VisualBasic/FileSystem.xml @@ -3638,32 +3638,7 @@ Required. A string expression that specifies a file, directory, or folder name. can include the directory or folder, and the drive. Returns a value that represents the attributes of a file, directory, or folder. The feature gives you better productivity and performance in file I/O operations than . For more information, see . - The value returned by is the sum of the following enumeration values: - - Value - - Constant - - Description - - Normal. - - Read-only. - - Hidden. - - System file. - - Directory or folder. - - File has changed since last backup. - - File has a different name. - - - These enumerations are specified by the Visual Basic language. The names can be used anywhere in your code in place of the actual values. - - + A bitwise combination of the enumeration values. The array of tasks from which to continue. The function delegate to execute asynchronously when all tasks in the array have completed. - One of the enumeration values that controls the behavior of the created continuation task. The NotOn* or OnlyOn* values are not valid. + One of the enumeration values that controls the behavior of the created continuation task. The and values are not valid. Creates a continuation task that will be started upon the completion of a set of provided Tasks. The new continuation task. @@ -661,7 +661,7 @@ The array of tasks from which to continue. The function delegate to execute asynchronously when all tasks in the array have completed. The cancellation token that will be assigned to the new continuation task. - One of the enumeration values that controls the behavior of the created continuation task. The NotOn* or OnlyOn* values are not valid. + One of the enumeration values that controls the behavior of the created continuation task. The and values are not valid. The scheduler that is used to schedule the created continuation task. Creates a continuation task that will be started upon the completion of a set of provided Tasks. The new continuation task. @@ -871,7 +871,7 @@ The type of the result of the antecedent . The array of tasks from which to continue. The function delegate to execute asynchronously when all tasks in the array have completed. - One of the enumeration values that controls the behavior of the created continuation task. The NotOn* or OnlyOn* values are not valid. + One of the enumeration values that controls the behavior of the created continuation task. The and values are not valid. Creates a continuation task that will be started upon the completion of a set of provided tasks. The new continuation task. @@ -940,7 +940,7 @@ The array of tasks from which to continue. The function delegate to execute asynchronously when all tasks in the array have completed. The cancellation token that will be assigned to the new continuation task. - One of the enumeration values that controls the behavior of the created continuation task. The NotOn* or OnlyOn* values are not valid. + One of the enumeration values that controls the behavior of the created continuation task. The and values are not valid. The scheduler that is used to schedule the created continuation task. Creates a continuation task that will be started upon the completion of a set of provided tasks. The new continuation task. @@ -1154,7 +1154,7 @@ The array of tasks from which to continue when one task completes. The function delegate to execute asynchronously when one task in the array completes. - One of the enumeration values that controls the behavior of the created continuation task. The or values are not valid. + One of the enumeration values that controls the behavior of the created continuation task. The and values are not valid. Creates a continuation task that will be started upon the completion of any task in the provided set. The new continuation task. @@ -1223,7 +1223,7 @@ The array of tasks from which to continue when one task completes. The function delegate to execute asynchronously when one task in the array completes. The cancellation token that will be assigned to the new continuation task. - One of the enumeration values that controls the behavior of the created continuation task. The or values are not valid. + One of the enumeration values that controls the behavior of the created continuation task. The and values are not valid. The task scheduler that is used to schedule the created continuation task. Creates a continuation task that will be started upon the completion of any task in the provided set. The new continuation task. @@ -1445,7 +1445,7 @@ The type of the result of the antecedent . The array of tasks from which to continue when one task completes. The function delegate to execute asynchronously when one task in the array completes. - One of the enumeration values that controls the behavior of the created continuation task. The or values are not valid. + One of the enumeration values that controls the behavior of the created continuation task. The and values are not valid. Creates a continuation task that will be started upon the completion of any task in the provided set. The new continuation . @@ -1518,7 +1518,7 @@ The array of tasks from which to continue when one task completes. The function delegate to execute asynchronously when one task in the array completes. The cancellation token that will be assigned to the new continuation task. - One of the enumeration values that controls the behavior of the created continuation task. The or values are not valid. + One of the enumeration values that controls the behavior of the created continuation task. The and values are not valid. The that is used to schedule the created continuation . Creates a continuation task that will be started upon the completion of any task in the provided set. The new continuation . @@ -2844,4 +2844,4 @@ - \ No newline at end of file + diff --git a/xml/System.Web.UI.DataVisualization.Charting/BorderSkinStyle.xml b/xml/System.Web.UI.DataVisualization.Charting/BorderSkinStyle.xml index 46074cda99e..be055efd859 100644 --- a/xml/System.Web.UI.DataVisualization.Charting/BorderSkinStyle.xml +++ b/xml/System.Web.UI.DataVisualization.Charting/BorderSkinStyle.xml @@ -21,7 +21,7 @@ The class represents the style of the border skin used for a chart image. If you set the property to None, no skin will be used. This is the default value for the property. > [!NOTE] -> The difference between the sets of border skin styles that use frames and follow either the naming convention "FrameThin*" or "FrameTitle*" (for example, System.Web.UI.DataVisualization.Charting.BorderSkinStyle.FrameThin1 or System.Web.UI.DataVisualization.Charting.BorderSkinStyle.FrameTitle1) is the shape and thickness of their frames. +> The difference between the sets of border skin styles that use frames and follow either the naming convention "FrameThin\*" or "FrameTitle\*" (for example, System.Web.UI.DataVisualization.Charting.BorderSkinStyle.FrameThin1 or System.Web.UI.DataVisualization.Charting.BorderSkinStyle.FrameTitle1) is the shape and thickness of their frames. In addition, if you use one of the "FrameThin" style border skins, the title of the chart will not be displayed. However, if you use one of the "FrameTitle" style border skins, the title of the chart will appear in the top-horizontal part of the frame. diff --git a/xml/System.Web.UI.WebControls/AdRotator.xml b/xml/System.Web.UI.WebControls/AdRotator.xml index adde4c4fc84..47cff367675 100644 --- a/xml/System.Web.UI.WebControls/AdRotator.xml +++ b/xml/System.Web.UI.WebControls/AdRotator.xml @@ -88,11 +88,11 @@ |`Width`|The width of the image, in pixels (optional).| |`AlternateText`|The text display in place of the image when the image specified by the property is not available (optional).

In some browsers, this text also appears as a `ToolTip` for the advertisement.| |`Keyword`|A category for the advertisement (for example, "computers") that you can filter by (optional).| -|`Impressions`|A number that indicates the importance of the ad in the schedule of rotation relative to the other ads in the file (optional).

The larger the number, the more often the ad is displayed. The total of all `` values in the XML file cannot exceed 2,047,999,999*.* If it does, the control throws a run-time exception.| +|`Impressions`|A number that indicates the importance of the ad in the schedule of rotation relative to the other ads in the file (optional).

The larger the number, the more often the ad is displayed. The total of all `` values in the XML file cannot exceed 2,047,999,999. If it does, the control throws a run-time exception.| The following example shows the format for the XML advertisement file. -``` +```xml @@ -172,7 +172,7 @@ The following code example demonstrates the file format for an XML file that contains advertisement information for the previous example. For more information on the file format, see the member. -``` +```xml ~/Images/image1.jpg @@ -292,7 +292,7 @@ The following code example demonstrates how to format the XML file that contains the advertisement information. For more information on the XML file, see the property. -``` +```xml ~/Images/image1.jpg @@ -418,7 +418,7 @@ The following code example shows the file format of the XML advertisement file. -``` +```xml ~/Images/image1.jpg @@ -489,7 +489,7 @@ The following is the sample XML data for the previous example. -``` +```xml ~/Images/ad1.gif @@ -620,7 +620,7 @@ The following is the sample XML data for the previous example. -``` +```xml ~/Images/ad1.gif @@ -708,7 +708,7 @@ The following code example demonstrates how to specify a keyword for each advertisement in the XML advertisement file. For more information on the file format, see the member. -``` +```xml ~/Images/image1.jpg @@ -778,7 +778,7 @@ The following is the sample XML data for the previous example. -``` +```xml ~/Images/ad1.gif @@ -854,7 +854,7 @@ The following code example demonstrates how to format the XML file that contains the advertisement information. For more information on the XML file, see the property. -``` +```xml ~/Images/image1.jpg @@ -1164,7 +1164,7 @@ The following code example demonstrates the file format for an XML file that contains advertisement information. For more information on the file format, see the member. -``` +```xml ~/Images/image1.jpg @@ -1226,4 +1226,4 @@
- \ No newline at end of file + diff --git a/xml/System.Windows.Forms/KeyPressEventArgs.xml b/xml/System.Windows.Forms/KeyPressEventArgs.xml index 8999b606dcd..1c08dea346f 100644 --- a/xml/System.Windows.Forms/KeyPressEventArgs.xml +++ b/xml/System.Windows.Forms/KeyPressEventArgs.xml @@ -222,10 +222,6 @@ > [!NOTE] > For information about how to detect any of the non-character keys mentioned above, see the class. -- - - - ## Examples The following example creates a control. The `keypressed` method uses the property to check whether the ENTER key pressed. If the ENTER key is pressed, the property is set to `true`, which indicates the event is handled. diff --git a/xml/System.Windows.Media.Media3D/Point3DCollection.xml b/xml/System.Windows.Media.Media3D/Point3DCollection.xml index 989f5727df1..83a5453c471 100644 --- a/xml/System.Windows.Media.Media3D/Point3DCollection.xml +++ b/xml/System.Windows.Media.Media3D/Point3DCollection.xml @@ -80,7 +80,7 @@ *oneOrMorePoint3Ds* One or more structures, with each set of values delimited by commas and/or one or more spaces. - *[delimiter* *]\** + _[delimiter__]\*_ For example, `"0,0,5 100,100,125 200,100,30"` and `"0,0,5,100,100,125,200,100,30"` are both valid. diff --git a/xml/System.Windows.Media/Int32Collection.xml b/xml/System.Windows.Media/Int32Collection.xml index fedaee47dd8..e8f712fb4b9 100644 --- a/xml/System.Windows.Media/Int32Collection.xml +++ b/xml/System.Windows.Media/Int32Collection.xml @@ -72,7 +72,7 @@ *oneOrMoreKInt32Values* One or more values, with each pair delimited by a single comma and/or one or more spaces: - *[delimiter* *]\** + _[delimiter__]\*_ For example, `"5 10 43"` and `"5,10,43"` are both valid. diff --git a/xml/System.Windows.Media/VectorCollection.xml b/xml/System.Windows.Media/VectorCollection.xml index 065135fcd4f..7806d634f58 100644 --- a/xml/System.Windows.Media/VectorCollection.xml +++ b/xml/System.Windows.Media/VectorCollection.xml @@ -72,7 +72,7 @@ *oneOrMoreVectors* One or more vector values, with each pair delimited by a single comma and/or one or more spaces: - *[delimiter* *]\** + _[delimiter__]\*_ For example, `"0,0 100,100 200,100"` and `"0,0,100,100,200,100"` are both valid. diff --git a/xml/System.Xml/XmlConvert.xml b/xml/System.Xml/XmlConvert.xml index 2f7f0f33d31..4fc9f994c04 100644 --- a/xml/System.Xml/XmlConvert.xml +++ b/xml/System.Xml/XmlConvert.xml @@ -45,8 +45,7 @@ You can use the method with the class to ensure the names being written are valid XML names. The following C# code converts the name "Order Detail" into a valid XML name and writes the element `My order`. ```csharp -writer.WriteElementString(XmlConvert.EncodeName("Order Detail"),"My order"); - +writer.WriteElementString(XmlConvert.EncodeName("Order Detail"),"My order"); ``` The following methods perform encoding and decoding. @@ -294,7 +293,7 @@ writer.WriteElementString(XmlConvert.EncodeName("Order Detail"),"My order"); The escape character is "\_". Any XML name character that does not conform to the [XML 1.0 spec (fourth edition) recommendation](https://www.w3.org/TR/2006/REC-xml-20060816/) is escaped as \_xHHHH\_. The HHHH string stands for the four-digit hexadecimal UCS-2 code for the character in most significant bit first order. For example, the name Order Details is encoded as Order\_x0020\_Details. - The underscore character does not need to be escaped unless it is followed by a character sequence that together with the underscore can be misinterpreted as an escape sequence when decoding the name. For example, Order\_Details is not encoded, but Order\_x0020\_ is encoded as Order\_x005f\_x0020\_. No shortforms are allowed. For example, the forms _x20\_ and \_\_ are not generated. + The underscore character does not need to be escaped unless it is followed by a character sequence that together with the underscore can be misinterpreted as an escape sequence when decoding the name. For example, Order\_Details is not encoded, but Order\_x0020\_ is encoded as Order\_x005f\_x0020\_. No shortforms are allowed. For example, the forms \_x20\_ and \_\_ are not generated. This method guarantees the name is valid according to the XML specification. It allows colons in any position, which means the name may still be invalid according to the [W3C Namespace Specification](https://www.w3.org/TR/REC-xml-names/). To guarantee it is a valid namespace qualified name use for the prefix and local name parts and join the result with a colon. diff --git a/xml/System/Decimal.xml b/xml/System/Decimal.xml index fc36e6459dc..3ee9eb20bfa 100644 --- a/xml/System/Decimal.xml +++ b/xml/System/Decimal.xml @@ -4444,8 +4444,8 @@ ||The *,* element.| ||The *$* element.| ||All. The `s` parameter cannot represent a hexadecimal number or a number in exponential notation.| -||The *ws* element at the beginning or end of `s`, *sign* at the beginning of `s`, and the *.* symbol. The `s` parameter can also use exponential notation.| -||The `ws`, `sign`, *,*, and *.* elements.| +||The *ws* element at the beginning or end of `s`, *sign* at the beginning of `s`, and the `.` symbol. The `s` parameter can also use exponential notation.| +||The `ws`, `sign`, `,` and `.` elements.| ||All styles, except `s` cannot represent a hexadecimal number.| The `s` parameter is parsed using the formatting information in a object initialized for the current system culture. For more information, see .