Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix more tables #10782

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions xml/Microsoft.SqlServer.Server/SqlMetaData.xml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
The following are the default values assigned to `dbType`, depending on the `SqlDbType` (the <xref:Microsoft.SqlServer.Server.SqlMetaData.XmlSchemaCollectionDatabase%2A>, <xref:Microsoft.SqlServer.Server.SqlMetaData.XmlSchemaCollectionName%2A>, <xref:Microsoft.SqlServer.Server.SqlMetaData.XmlSchemaCollectionOwningSchema%2A>, and <xref:Microsoft.SqlServer.Server.SqlMetaData.Type%2A> properties are set to `null`):

| SqlDbType | Precision | Scale | Locale | Compare options |
|---------------|---------------|-----------|------------|---------------------|
|-----------|-----------|-------|-----------|-----------------------------------------|
| Binary | 0 | 0 | 0 | IgnoreCase, IgnoreKanaType, IgnoreWidth |
| Char | 0 | 0 | \<thread> | IgnoreCase, IgnoreKanaType, IgnoreWidth |
| Image | 0 | 0 | 0 | None |
Expand All @@ -188,8 +188,6 @@
| VarBinary | 0 | 0 | | IgnoreCase, IgnoreKanaType, IgnoreWidth |
| VarChar | 0 | 0 | \<thread> | IgnoreCase, IgnoreKanaType, IgnoreWidth |



## Examples
The following example creates a new <xref:Microsoft.SqlServer.Server.SqlMetaData> object by specifying the column name, a column data type of <xref:System.Data.SqlDbType>`.NVarChar`, and a maximum length of 12 characters.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -618,10 +618,13 @@

You should set the `My.Application.MinimumSplashScreenDisplayTime` property in a method that overrides the <xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnInitialize%2A> or <xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnCreateSplashScreen%2A> method. Code that overrides methods of the <xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase> class should be entered in the ApplicationEvents.vb file, which is hidden by default.

| |
|-|
|To access the Code Editor window for overriding members|
|1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Click the **View Application Events** button to open the Code Editor.<br /><br />For more information, see [Application Page, Project Designer (Visual Basic)](https://learn.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).|
To access the Code Editor window for overriding members:

1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.
2. Click the **Application** tab.
3. Click the **View Application Events** button to open the Code Editor.

For more information, see [Application Page, Project Designer (Visual Basic)](https://learn.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).

## Availability by Project Type

Expand All @@ -635,8 +638,6 @@
|Windows Service|No|
|Web Site|No|



## Examples
This example demonstrates how to set the `My.Application.MinimumSplashScreenDisplayTime` property by overriding the <xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnInitialize%2A> property.

Expand Down Expand Up @@ -694,10 +695,13 @@

The code for the `NetworkAvailabilityChanged` event handler is stored in the ApplicationEvents.vb file, which is hidden by default.

| |
|-|
|To access the Code Editor window for application events|
|1. Have a project selected in **Solution Explorer.** Click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Click the **View Application Events** button to open the Code Editor.<br /><br />For more information, see [Application Page, Project Designer (Visual Basic)](https://learn.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).|
To access the Code Editor window for application events:

1. Have a project selected in **Solution Explorer.** Click **Properties** on the **Project** menu.
2. Click the **Application** tab.
3. Click the **View Application Events** button to open the Code Editor.

For more information, see [Application Page, Project Designer (Visual Basic)](https://learn.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).

> [!NOTE]
> Many network hubs will provide a network connection even if the hub is disconnected from a larger network. Consequently, for wired connections, this event indicates change in the connection between the computer and a hub.
Expand Down Expand Up @@ -1317,10 +1321,11 @@

The changes to this property are not persisted when the application closes. To change the `SaveMySettingsOnExit` property permanently, you must change the setting in the **Project Designer**:

| |
|-|
|To change the setting in the Project Designer|
|1. Have a project selected in **Solution Explorer**. Click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Select **Save My.Settings on Shutdown**.|
To change the setting in the Project Designer:

1. Have a project selected in **Solution Explorer**. Click **Properties** on the **Project** menu.
2. Click the **Application** tab.
3. Select **Save My.Settings on Shutdown**.|

## Availability by Project Type

Expand Down Expand Up @@ -1437,10 +1442,13 @@

The code for the `Shutdown` event handler is stored in the ApplicationEvents.vb file, which is hidden by default.

| |
|-|
|To access the Code Editor window for application events|
|1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Click the **View Application Events** button to open the Code Editor.<br /><br />For more information, see [Application Page, Project Designer (Visual Basic)](https://learn.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).|
To access the Code Editor window for application events:

1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.
2. Click the **Application** tab.
3. Click the **View Application Events** button to open the Code Editor.

For more information, see [Application Page, Project Designer (Visual Basic)](https://learn.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).

## Availability by Project Type

Expand Down Expand Up @@ -1631,10 +1639,13 @@

The code for the `Startup` event handler is stored in the ApplicationEvents.vb file, which is hidden by default.

| |
|-|
|To access the Code Editor window for application events|
|1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Click the **View Application Events** button to open the Code Editor.<br /><br /> For more information, see [Application Page, Project Designer (Visual Basic)](https://learn.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).|
To access the Code Editor window for application events:

1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.
2. Click the **Application** tab.
3. Click the **View Application Events** button to open the Code Editor.

For more information, see [Application Page, Project Designer (Visual Basic)](https://learn.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).|

## Availability by Project Type

Expand Down Expand Up @@ -1708,18 +1719,17 @@
> [!NOTE]
> The `StartupNextInstance` event is raised only in single-instance applications. To enable single-instance behavior for your application, you must check the **Make single instance application** check box in the Project Designer.

| |
|-|
|To make an application single instance|
|1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Select the **Make single instance application** check box.|
To make an application single instance:

1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.
2. Click the **Application** tab.
3. Select the **Make single instance application** check box.|

You must use the <xref:Microsoft.VisualBasic.ApplicationServices.StartupEventArgs.CommandLine%2A> property of the `e` parameter to access the arguments for subsequent attempts to start a single-instance application. The <xref:Microsoft.VisualBasic.ApplicationServices.ConsoleApplicationBase.CommandLineArgs%2A> property provides the arguments used to start the first instance of a single-instance application.

The code for the <xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.StartupNextInstance> event handler is stored in the ApplicationEvents.vb file, which is hidden by default.

| |
|-|
|To access the Code Editor window for application events|
To access the Code Editor window for application events:
|1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Click the **View Application Events** button to open the Code Editor.<br /><br />For more information, see [Application Page, Project Designer (Visual Basic)](https://learn.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).|

The following table lists examples of tasks involving the `My.Application.StartupNextInstance` event.
Expand Down Expand Up @@ -1798,9 +1808,7 @@

The code for the `UnhandledException` event handler is stored in the ApplicationEvents.vb file, which is hidden by default.

| |
|-|
|To access the Code Editor window for application events|
To access the Code Editor window for application events:
|1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Click the **View Application Events** button to open the Code Editor.|

For more information, see [Application Page, Project Designer (Visual Basic)](https://learn.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).
Expand Down Expand Up @@ -1892,12 +1900,13 @@

Code that overrides methods of the <xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase> class should be entered in the ApplicationEvents.vb file, which is hidden by default.

| |
|-|
|To access the Code Editor window for overriding members|
|1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.<br />2. Click the **Application** tab.<br />3. Click the **View Application Events** button to open the Code Editor.<br /><br />For more information, see [Application Page, Project Designer (Visual Basic)](https://learn.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).|
To access the Code Editor window for overriding members:

1. With a project selected in **Solution Explorer**, click **Properties** on the **Project** menu.
2. Click the **Application** tab.
3. Click the **View Application Events** button to open the Code Editor.

For more information, see [Application Page, Project Designer (Visual Basic)](https://learn.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic).

## Examples
This example demonstrates how to set the GDI+ text rendering engine as the application's default rendering engine by overriding the <xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.UseCompatibleTextRendering%2A> property.
Expand Down
24 changes: 12 additions & 12 deletions xml/System.Buffers.Text/Utf8Formatter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ If the method fails, iteratively increase the size of the buffer and retry until
Formats supported:

| Format string | Example result string |
|--|--|
|---------------|-----------------------|
| G/g (default) | |
| D/d | 122 |
| N/n | 122 |
Expand Down Expand Up @@ -198,7 +198,7 @@ If the method fails, iteratively increase the size of the buffer and retry until
Formats supported:

| Format string | Example result string | Comments |
|--|--|--|
|---------------|-----------------------------------|----------------------|
| G (default) | 05/25/2017 10:30:15 | |
| R | Tue, 03 Jan 2017 08:08:05 GMT | (RFC 1123) |
| l | tue, 03 jan 2017 08:08:05 gmt | (Lowercase RFC 1123) |
Expand Down Expand Up @@ -299,7 +299,7 @@ If the method fails, iteratively increase the size of the buffer and retry until
Formats supported:

| Format string | Example result string | Comments |
|--|--|--|
|----------------|-----------------------|-------------|
| G/g (default) | |
| F/f | 12.45 | Fixed point |
| E/e | 1.245000e1 | Exponential |
Expand Down Expand Up @@ -356,7 +356,7 @@ If the method fails, iteratively increase the size of the buffer and retry until
Formats supported:

| Format string | Example result string | Comments |
|--|--|--|
|----------------|-----------------------|-------------|
| G/g (default) | |
| F/f | 12.45 | Fixed point |
| E/e | 1.245000e1 | Exponential |
Expand Down Expand Up @@ -471,7 +471,7 @@ If the method fails, iteratively increase the size of the buffer and retry until
Formats supported:

| Format string | Example result string |
|--|--|
|---------------|-----------------------|
| G/g (default) | |
| D/d | 32767 |
| N/n | 32,767 |
Expand Down Expand Up @@ -529,7 +529,7 @@ If the method fails, iteratively increase the size of the buffer and retry until
Formats supported:

| Format string | Example result string |
|--|--|
|---------------|-----------------------|
| G/g (default) | |
| D/d | 32767 |
| N/n | 32,767 |
Expand Down Expand Up @@ -587,7 +587,7 @@ If the method fails, iteratively increase the size of the buffer and retry until
Formats supported:

| Format string | Example result string |
|--|--|
|---------------|-----------------------|
| G/g (default) | |
| D/d | 32767 |
| N/n | 32,767 |
Expand Down Expand Up @@ -651,7 +651,7 @@ If the method fails, iteratively increase the size of the buffer and retry until
Formats supported:

| Format string | Example result string |
|--|--|
|---------------|-----------------------|
| G/g (default) | |
| D/d | 122 |
| N/n | 122 |
Expand Down Expand Up @@ -709,7 +709,7 @@ If the method fails, iteratively increase the size of the buffer and retry until
Formats supported:

| Format string | Example result string | Comments |
|--|--|--|
|----------------|-----------------------|-------------|
| G/g (default) | |
| F/f | 12.45 | Fixed point |
| E/e | 1.245000e1 | Exponential |
Expand Down Expand Up @@ -829,7 +829,7 @@ If the method fails, iteratively increase the size of the buffer and retry until
Formats supported:

| Format string | Example result string |
|--|--|
|---------------|-----------------------|
| G/g (default) | |
| D/d | 32767 |
| N/n | 32,767 |
Expand Down Expand Up @@ -893,7 +893,7 @@ If the method fails, iteratively increase the size of the buffer and retry until
Formats supported:

| Format string | Example result string |
|--|--|
|---------------|-----------------------|
| G/g (default) | |
| D/d | 32767 |
| N/n | 32,767 |
Expand Down Expand Up @@ -957,7 +957,7 @@ If the method fails, iteratively increase the size of the buffer and retry until
Formats supported:

| Format string | Example result string |
|--|--|
|---------------|-----------------------|
| G/g (default) | |
| D/d | 32767 |
| N/n | 32,767 |
Expand Down
Loading
Loading