Skip to content

Commit 2c7e714

Browse files
committed
remove space after hyphens
1 parent 0d76620 commit 2c7e714

File tree

1,240 files changed

+119003
-119003
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,240 files changed

+119003
-119003
lines changed

xml/Microsoft.JScript/Typeof.xml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -52,27 +52,27 @@
5252
<summary>Determines the data type of the specified object.</summary>
5353
<returns>The type of <paramref name="value" />.</returns>
5454
<remarks>
55-
<format type="text/markdown"><![CDATA[
56-
57-
## Remarks
58-
The return value can be one of the following string literals:
59-
60-
- boolean
61-
62-
- date
63-
64-
- function
65-
66-
- number
67-
68-
- object
69-
70-
- string
71-
72-
- undefined
73-
74-
- unknown
75-
55+
<format type="text/markdown"><![CDATA[
56+
57+
## Remarks
58+
The return value can be one of the following string literals:
59+
60+
- boolean
61+
62+
- date
63+
64+
- function
65+
66+
- number
67+
68+
- object
69+
70+
- string
71+
72+
- undefined
73+
74+
- unknown
75+
7676
]]></format>
7777
</remarks>
7878
<forInternalUseOnly />

xml/Microsoft.SqlServer.Server/SqlUserDefinedTypeAttribute.xml

Lines changed: 81 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,19 @@
3838
<Docs>
3939
<summary>Used to mark a type definition in an assembly as a user-defined type (UDT) in SQL Server. The properties on the attribute reflect the physical characteristics used when the type is registered with SQL Server. This class cannot be inherited.</summary>
4040
<remarks>
41-
<format type="text/markdown"><![CDATA[
42-
43-
## Remarks
44-
SQL Server creates a user-defined type that is bound to the type definition that has the <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute> custom attribute. Every UDT must be annotated with this attribute. See [CLR User-Defined Types](https://go.microsoft.com/fwlink/?LinkId=128028) for more information about UDTs, including an example of a UDT.
45-
46-
47-
48-
## Examples
49-
The following example shows the `UserDefinedType` attribute of the Point UDT. The UDT is byte-ordered, is named "Point", has a validation method named "ValidatePoint", and uses the native serialization format.
50-
41+
<format type="text/markdown"><![CDATA[
42+
43+
## Remarks
44+
SQL Server creates a user-defined type that is bound to the type definition that has the <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute> custom attribute. Every UDT must be annotated with this attribute. See [CLR User-Defined Types](https://go.microsoft.com/fwlink/?LinkId=128028) for more information about UDTs, including an example of a UDT.
45+
46+
47+
48+
## Examples
49+
The following example shows the `UserDefinedType` attribute of the Point UDT. The UDT is byte-ordered, is named "Point", has a validation method named "ValidatePoint", and uses the native serialization format.
50+
5151
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/DataWorks SqlUserDefinedTypeAttribute Example/CS/source.cs" id="Snippet1":::
52-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/DataWorks SqlUserDefinedTypeAttribute Example/VB/source.vb" id="Snippet1":::
53-
52+
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/DataWorks SqlUserDefinedTypeAttribute Example/VB/source.vb" id="Snippet1":::
53+
5454
]]></format>
5555
</remarks>
5656
</Docs>
@@ -79,17 +79,17 @@
7979
<param name="format">One of the <see cref="T:Microsoft.SqlServer.Server.Format" /> values representing the serialization format of the type.</param>
8080
<summary>A required attribute on a user-defined type (UDT), used to confirm that the given type is a UDT and to indicate the storage format of the UDT.</summary>
8181
<remarks>
82-
<format type="text/markdown"><![CDATA[
83-
84-
## Remarks
85-
The following example specifies that the `Format` of the user-defined type is `SerializedDataWithMetadata` and the `MaxByteSize` is 8000 bytes.
86-
87-
88-
89-
## Examples
82+
<format type="text/markdown"><![CDATA[
83+
84+
## Remarks
85+
The following example specifies that the `Format` of the user-defined type is `SerializedDataWithMetadata` and the `MaxByteSize` is 8000 bytes.
86+
87+
88+
89+
## Examples
9090
:::code language="csharp" source="~/snippets/csharp/Microsoft.SqlServer.Server/SqlUserDefinedTypeAttribute/Type1.cs" id="Snippet12":::
91-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/Type1.vb" id="Snippet12":::
92-
91+
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/Type1.vb" id="Snippet12":::
92+
9393
]]></format>
9494
</remarks>
9595
</Docs>
@@ -145,37 +145,37 @@
145145
<value>
146146
<see langword="true" /> if the user-defined type is byte ordered; otherwise <see langword="false" />.</value>
147147
<remarks>
148-
<format type="text/markdown"><![CDATA[
149-
150-
## Remarks
151-
When set to `true`, the <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.IsByteOrdered%2A> property in effect guarantees that the serialized binary data can be used for semantic ordering of the information. Thus, each instance of a byte-ordered UDT object can only have one serialized representation. When a comparison operation is performed in SQL Server on the serialized bytes, its results should be the same as if the same comparison operation had taken place in managed code.
152-
153-
The following features are supported when <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.IsByteOrdered%2A> is set to `true`:
154-
155-
- The ability to create indexes on columns of this type.
156-
157-
- The ability to create primary and foreign keys as well as CHECK and UNIQUE constraints on columns of this type.
158-
159-
- The ability to use Transact-SQL ORDER BY, GROUP BY, and PARTITION BY clauses. In these cases, the binary representation of the type is used to determine the order.
160-
161-
- The ability to use comparison operators in Transact-SQL statements.
162-
163-
- The ability to persist computed columns of this type.
164-
165-
Note that both the `Native` and `UserDefined` serialization formats support the following comparison operators when <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.IsByteOrdered%2A> is set to `true`:
166-
167-
- Equal to (=)
168-
169-
- Not equal to (!=)
170-
171-
- Greater than (>)
172-
173-
- Less than (\<)
174-
175-
- Greater than or equal to (>=)
176-
177-
- Less than or equal to (<=)
178-
148+
<format type="text/markdown"><![CDATA[
149+
150+
## Remarks
151+
When set to `true`, the <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.IsByteOrdered%2A> property in effect guarantees that the serialized binary data can be used for semantic ordering of the information. Thus, each instance of a byte-ordered UDT object can only have one serialized representation. When a comparison operation is performed in SQL Server on the serialized bytes, its results should be the same as if the same comparison operation had taken place in managed code.
152+
153+
The following features are supported when <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.IsByteOrdered%2A> is set to `true`:
154+
155+
- The ability to create indexes on columns of this type.
156+
157+
- The ability to create primary and foreign keys as well as CHECK and UNIQUE constraints on columns of this type.
158+
159+
- The ability to use Transact-SQL ORDER BY, GROUP BY, and PARTITION BY clauses. In these cases, the binary representation of the type is used to determine the order.
160+
161+
- The ability to use comparison operators in Transact-SQL statements.
162+
163+
- The ability to persist computed columns of this type.
164+
165+
Note that both the `Native` and `UserDefined` serialization formats support the following comparison operators when <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.IsByteOrdered%2A> is set to `true`:
166+
167+
- Equal to (=)
168+
169+
- Not equal to (!=)
170+
171+
- Greater than (>)
172+
173+
- Less than (\<)
174+
175+
- Greater than or equal to (>=)
176+
177+
- Less than or equal to (<=)
178+
179179
]]></format>
180180
</remarks>
181181
</Docs>
@@ -205,11 +205,11 @@
205205
<value>
206206
<see langword="true" /> if all instances of this type are the same length; otherwise <see langword="false" />.</value>
207207
<remarks>
208-
<format type="text/markdown"><![CDATA[
209-
210-
## Remarks
211-
If set to `true`, all instances of UDTs corresponding to this common language runtime (CLR) type must have a length in bytes exactly equal to <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.MaxByteSize%2A>. This attribute is only relevant for UDTs with `UserDefined` serialization <xref:Microsoft.SqlServer.Server.Format>.
212-
208+
<format type="text/markdown"><![CDATA[
209+
210+
## Remarks
211+
If set to `true`, all instances of UDTs corresponding to this common language runtime (CLR) type must have a length in bytes exactly equal to <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.MaxByteSize%2A>. This attribute is only relevant for UDTs with `UserDefined` serialization <xref:Microsoft.SqlServer.Server.Format>.
212+
213213
]]></format>
214214
</remarks>
215215
</Docs>
@@ -238,19 +238,19 @@
238238
<summary>The maximum size of the instance, in bytes.</summary>
239239
<value>An <see cref="T:System.Int32" /> value representing the maximum size of the instance.</value>
240240
<remarks>
241-
<format type="text/markdown"><![CDATA[
242-
243-
## Remarks
244-
You must specify the <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.MaxByteSize%2A> property with the `UserDefined` serialization <xref:Microsoft.SqlServer.Server.Format>.
245-
246-
When connecting to SQL Server 2005 or earlier, <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.MaxByteSize%2A> must be between 1 and 8000.
247-
248-
When connecting to SQL Server 2008 or later, set <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.MaxByteSize%2A> between 1 and 8000, for a type whose instances are always 8,000 bytes or less. For types that can have instances larger than 8000, specify -1.
249-
250-
For a UDT with user-defined serialization specified, <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.MaxByteSize%2A> refers to the total size of the UDT in its serialized form as defined by the user. Consider a UDT with a property of a string of 10 characters (<xref:System.Char>). When the UDT is serialized using a <xref:System.IO.BinaryWriter>, the total size of the serialized string is 22 bytes: 2 bytes per Unicode UTF-16 character, multiplied by the maximum number of characters, plus 2 control bytes of overhead incurred from serializing a binary stream. So, when determining the value of <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.MaxByteSize%2A>, the total size of the serialized UDT must be considered: the size of the data serialized in binary form plus the overhead incurred by serialization.
251-
252-
This property should not be used with `Native` serialization <xref:Microsoft.SqlServer.Server.Format>.
253-
241+
<format type="text/markdown"><![CDATA[
242+
243+
## Remarks
244+
You must specify the <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.MaxByteSize%2A> property with the `UserDefined` serialization <xref:Microsoft.SqlServer.Server.Format>.
245+
246+
When connecting to SQL Server 2005 or earlier, <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.MaxByteSize%2A> must be between 1 and 8000.
247+
248+
When connecting to SQL Server 2008 or later, set <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.MaxByteSize%2A> between 1 and 8000, for a type whose instances are always 8,000 bytes or less. For types that can have instances larger than 8000, specify -1.
249+
250+
For a UDT with user-defined serialization specified, <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.MaxByteSize%2A> refers to the total size of the UDT in its serialized form as defined by the user. Consider a UDT with a property of a string of 10 characters (<xref:System.Char>). When the UDT is serialized using a <xref:System.IO.BinaryWriter>, the total size of the serialized string is 22 bytes: 2 bytes per Unicode UTF-16 character, multiplied by the maximum number of characters, plus 2 control bytes of overhead incurred from serializing a binary stream. So, when determining the value of <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.MaxByteSize%2A>, the total size of the serialized UDT must be considered: the size of the data serialized in binary form plus the overhead incurred by serialization.
251+
252+
This property should not be used with `Native` serialization <xref:Microsoft.SqlServer.Server.Format>.
253+
254254
]]></format>
255255
</remarks>
256256
</Docs>
@@ -279,11 +279,11 @@
279279
<summary>The SQL Server name of the user-defined type.</summary>
280280
<value>A <see cref="T:System.String" /> value representing the SQL Server name of the user-defined type.</value>
281281
<remarks>
282-
<format type="text/markdown"><![CDATA[
283-
284-
## Remarks
285-
The <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.Name%2A> property is not used within SQL Server, but is used by the Microsoft Visual Studio .NET Integrated Development Environment (IDE).
286-
282+
<format type="text/markdown"><![CDATA[
283+
284+
## Remarks
285+
The <xref:Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute.Name%2A> property is not used within SQL Server, but is used by the Microsoft Visual Studio .NET Integrated Development Environment (IDE).
286+
287287
]]></format>
288288
</remarks>
289289
</Docs>
@@ -312,11 +312,11 @@
312312
<summary>The name of the method used to validate instances of the user-defined type.</summary>
313313
<value>A <see cref="T:System.String" /> representing the name of the method used to validate instances of the user-defined type.</value>
314314
<remarks>
315-
<format type="text/markdown"><![CDATA[
316-
317-
## Remarks
318-
The method specified by this attribute validates instances of the UDT when the UDT has been deserialized from a binary value that is not trusted.
319-
315+
<format type="text/markdown"><![CDATA[
316+
317+
## Remarks
318+
The method specified by this attribute validates instances of the UDT when the UDT has been deserialized from a binary value that is not trusted.
319+
320320
]]></format>
321321
</remarks>
322322
</Docs>

xml/Microsoft.VisualBasic.ApplicationServices/WindowsFormsApplicationBase.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1373,9 +1373,9 @@ To change the setting in the Project Designer:
13731373
## Examples
13741374
This example has two parts.
13751375
1376-
- The `InitializeSaveMySettingsOnExit` subroutine, which initializes the checked state of a <xref:System.Windows.Forms.CheckBox> control to the current value of the `SaveMySettingsOnExit` property.
1376+
- The `InitializeSaveMySettingsOnExit` subroutine, which initializes the checked state of a <xref:System.Windows.Forms.CheckBox> control to the current value of the `SaveMySettingsOnExit` property.
13771377
1378-
- The `SaveMySettingsOnExit_CheckedChanged` subroutine, which handles changes to a <xref:System.Windows.Forms.CheckBox> control to update the `My.Application.SaveMySettingsOnExit` property.
1378+
- The `SaveMySettingsOnExit_CheckedChanged` subroutine, which handles changes to a <xref:System.Windows.Forms.CheckBox> control to update the `My.Application.SaveMySettingsOnExit` property.
13791379
13801380
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet12":::
13811381

0 commit comments

Comments
 (0)