Skip to content

Commit 90e2826

Browse files
authored
Replace MSDN links (dotnet#5192)
1 parent 93da7ee commit 90e2826

File tree

27 files changed

+121
-123
lines changed

27 files changed

+121
-123
lines changed

xml/Microsoft.VisualBasic/Interaction.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ drawObj.SaveAs("C:\Drawings\sample.drw")
10641064
<format type="text/markdown"><![CDATA[
10651065
10661066
## Remarks
1067-
The `IIf` function provides a counterpart for the ternary [Conditional Operator: ? :](https://msdn.microsoft.com/library/88643ee8-7100-4f86-880a-705ec22b6271) in Visual C++.
1067+
The `IIf` function provides a counterpart for the ternary [Conditional Operator: ? :](/cpp/cpp/conditional-operator-q) in Visual C++.
10681068
10691069
10701070

xml/System.ComponentModel.DataAnnotations/TimestampAttribute.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
## Remarks
4141
A row version type (also known as a sequence number) is a binary number that is guaranteed to be unique in the database. It does not represent an actual time. Row version data is not visually meaningful. Therefore, when the <xref:System.ComponentModel.DataAnnotations.TimestampAttribute> attribute is used with a Dynamic Data field, the column is not displayed unless the <xref:System.ComponentModel.DataAnnotations.ScaffoldColumnAttribute> attribute of the column is explicitly set to `true`.
4242
43-
For more information, see [rowversion](https://msdn.microsoft.com/library/65c9cf0e-3e8a-45f8-87b3-3460d96afb0b).
43+
For more information, see [rowversion](/sql/t-sql/data-types/rowversion-transact-sql?view=sql-server-ver15).
4444
4545
]]></format>
4646
</remarks>
@@ -80,4 +80,4 @@
8080
</Docs>
8181
</Member>
8282
</Members>
83-
</Type>
83+
</Type>

xml/System.ComponentModel.Design/DesignerTransaction.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ using (host.CreateTransaction() {
7979
8080
There is extensive support for this feature in Visual Studio.
8181
82-
Also see [Walkthrough: Automatically Populating the Toolbox with Custom Components](https://msdn.microsoft.com/library/fw694kde\(v=vs.110\).aspx).
82+
Also see [Walkthrough: Automatically Populating the Toolbox with Custom Components](/dotnet/desktop/winforms/controls/walkthrough-automatically-populating-the-toolbox-with-custom-components).
8383
8484
The designer can optionally display notifications about designer transaction events. If you add an instance of the `DTComponent` to a form while in design mode, a message box appears asking whether you would like to receive designer transaction event notifications. You may toggle these notifications using the shortcut menu that appears when you right-click an instance of the `DTComponent`. Transactions are created when you change values using the Properties window. You can also have the designer perform a transaction by clicking **Perform Example Transaction** on the shortcut menu for the component.
8585

xml/System.ComponentModel.Design/ITypeDescriptorFilterService.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
5454
To use the example, add the code to a Windows Forms project and load the components from the class library into the Toolbox.
5555
56-
Also see [Walkthrough: Automatically Populating the Toolbox with Custom Components](https://msdn.microsoft.com/library/fw694kde\(v=vs.110\).aspx).
56+
Also see [Walkthrough: Automatically Populating the Toolbox with Custom Components](/dotnet/desktop/winforms/controls/walkthrough-automatically-populating-the-toolbox-with-custom-components).
5757
5858
Add some buttons to your form. Add a `ButtonDesignerFilterComponent` to your form, and it will appear in the component tray. The `ButtonDesignerFilterComponent` will add a `ButtonDesignerFilterService`, which implements <xref:System.ComponentModel.Design.ITypeDescriptorFilterService>, as a design mode service provider. Existing or new <xref:System.Windows.Forms.Button> objects on the form will begin color cycling after the `ButtonDesignerFilterService` replaces the designer for each existing and new button with a `ColorCycleButtonDesigner`. The buttons will color cycle when you move the mouse pointer over them, and alternately continue cycling or reset the background and foreground colors on `MouseLeave` events. New <xref:System.Windows.Forms.Button> objects will be given the `ColorCycleButtonDesigner` through the <xref:System.ComponentModel.Design.ITypeDescriptorFilterService.FilterAttributes%2A> method of the `ButtonDesignerFilterService` that has been loaded, until the `ButtonDesignerFilterComponent` is disposed and replaces the original <xref:System.ComponentModel.Design.ITypeDescriptorFilterService>. The `ColorCycleButton` class in this example is a <xref:System.Windows.Forms.Button> associated with a `ColorCycleButtonDesigner`.
5959

xml/System.Data.SqlClient/SqlConnectionColumnEncryptionSetting.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<summary>Specifies that Always Encrypted functionality is enabled in a connection. Note that these settings cannot be used to bypass encryption and gain access to plaintext data. For details, see <see href="https://docs.microsoft.com/sql/relational-databases/security/encryption/always-encrypted-database-engine">Always Encrypted (Database Engine)</see>.</summary>
1818
<remarks>To be added.</remarks>
1919
<related type="ExternalDocumentation" href="https://blogs.msdn.microsoft.com/sqlsecurity/2015/06/04/getting-started-with-always-encrypted/">Getting Started with Always Encrypted (blog post)</related>
20-
<related type="ExternalDocumentation" href="https://msdn.microsoft.com/library/mt147923.aspx">Always Encrypted (client development)</related>
20+
<related type="ExternalDocumentation" href="/sql/relational-databases/security/encryption/always-encrypted-client-development">Always Encrypted (client development)</related>
2121
</Docs>
2222
<Members>
2323
<Member MemberName="Disabled">

xml/System.Data.SqlClient/SqlParameter.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1979,7 +1979,7 @@ FieldName = @OriginalFieldName
19791979
<format type="text/markdown"><![CDATA[
19801980
19811981
## Remarks
1982-
For a sample demonstrating <xref:System.Data.SqlClient.SqlParameter.UdtTypeName%2A>, see [Retrieving UDT Data](https://msdn.microsoft.com/library/ms131080.aspx).
1982+
For a sample demonstrating <xref:System.Data.SqlClient.SqlParameter.UdtTypeName%2A>, see [Retrieving UDT Data](/sql/relational-databases/clr-integration-database-objects-user-defined-types/accessing-user-defined-types-retrieving-udt-data).
19831983
19841984
]]></format>
19851985
</remarks>

xml/System.Reflection/TypeInfo.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
<format type="text/markdown"><![CDATA[
6969
7070
## Remarks
71-
Starting with the [!INCLUDE[net_v45](~/includes/net-v45-md.md)], the <xref:System.Reflection.TypeInfo> class is included in the [!INCLUDE[net_win8_profile](~/includes/net-win8-profile-md.md)] subset for use in creating Windows Store apps. <xref:System.Reflection.TypeInfo> is available in the full .NET Framework as well. For more information about reflection for Windows Store apps, see [System.Reflection namespaces](https://msdn.microsoft.com/library/windows/apps/hh441595\(v=vs.110\).aspx) in the Windows Dev Center and [Reflection in the .NET Framework for Windows Store Apps](/dotnet/framework/reflection-and-codedom/reflection-for-windows-store-apps) in the MSDN Library.
71+
Starting with [!INCLUDE[net_v45](~/includes/net-v45-md.md)], the <xref:System.Reflection.TypeInfo> class is included in the [!INCLUDE[net_win8_profile](~/includes/net-win8-profile-md.md)] subset for use in creating Windows Store apps. <xref:System.Reflection.TypeInfo> is available in the full .NET Framework as well. For more information about reflection for Windows Store apps, see [System.Reflection namespaces](/dotnet/api/?term=system.reflection) and [Reflection in the .NET Framework for Windows Store Apps](/dotnet/framework/reflection-and-codedom/reflection-for-windows-store-apps).
7272
7373
<xref:System.Reflection.TypeInfo> contains many of the members available in the <xref:System.Type> class, and many of the reflection properties in the [!INCLUDE[net_win8_profile](~/includes/net-win8-profile-md.md)] return collections of <xref:System.Reflection.TypeInfo> objects. To get a <xref:System.Reflection.TypeInfo> object from a <xref:System.Type> object, use the <xref:System.Reflection.IntrospectionExtensions.GetTypeInfo%28System.Type%29?displayProperty=nameWithType> extension method.
7474
@@ -81,7 +81,7 @@
8181
8282
8383
## Examples
84-
This example uses the reflection types and members in the [!INCLUDE[net_win8_profile](~/includes/net-win8-profile-md.md)] subset to retrieve the methods and properties of the <xref:System.Globalization.Calendar> type, including inherited methods and properties. To run this code, paste it into the code file for a [!INCLUDE[win8_appname_long](~/includes/win8-appname-long-md.md)] XAML app that contains a [Windows.UI.Xaml.Controls.Textblock](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.textblock.aspx) control named `textblock1`.
84+
This example uses the reflection types and members in the [!INCLUDE[net_win8_profile](~/includes/net-win8-profile-md.md)] subset to retrieve the methods and properties of the <xref:System.Globalization.Calendar> type, including inherited methods and properties. To run this code, paste it into the code file for a [!INCLUDE[win8_appname_long](~/includes/win8-appname-long-md.md)] XAML app that contains a [Windows.UI.Xaml.Controls.Textblock](xref:Windows.UI.Xaml.Controls.TextBlock) control named `textblock1`.
8585
8686
[!code-csharp[System.ReflectionWinStoreApp#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.reflectionwinstoreapp/cs/mainpage.xaml.cs#1)]
8787
[!code-vb[System.ReflectionWinStoreApp#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.reflectionwinstoreapp/vb/mainpage.xaml.vb#1)]
@@ -584,7 +584,7 @@
584584
585585
586586
## Examples
587-
This example uses the reflection types and members in the [!INCLUDE[net_win8_profile](~/includes/net-win8-profile-md.md)] subset to retrieve the methods and properties of the <xref:System.Globalization.Calendar> type, including inherited methods and properties. To run this code, paste it into the code file for a [!INCLUDE[win8_appname_long](~/includes/win8-appname-long-md.md)] XAML app that contains a [Windows.UI.Xaml.Controls.Textblock](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.textblock.aspx) control named `textblock1`.
587+
This example uses the reflection types and members in the [!INCLUDE[net_win8_profile](~/includes/net-win8-profile-md.md)] subset to retrieve the methods and properties of the <xref:System.Globalization.Calendar> type, including inherited methods and properties. To run this code, paste it into the code file for a [!INCLUDE[win8_appname_long](~/includes/win8-appname-long-md.md)] XAML app that contains a [Windows.UI.Xaml.Controls.Textblock](xref:Windows.UI.Xaml.Controls.TextBlock) control named `textblock1`.
588588
589589
[!code-csharp[System.ReflectionWinStoreApp#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.reflectionwinstoreapp/cs/mainpage.xaml.cs#1)]
590590
[!code-vb[System.ReflectionWinStoreApp#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.reflectionwinstoreapp/vb/mainpage.xaml.vb#1)]
@@ -701,7 +701,7 @@
701701
<format type="text/markdown"><![CDATA[
702702
703703
## Examples
704-
This example uses the reflection types and members in the [!INCLUDE[net_win8_profile](~/includes/net-win8-profile-md.md)] subset to retrieve the methods and properties of the <xref:System.Globalization.Calendar> type, including inherited methods and properties. To run this code, paste it into the code file for a [!INCLUDE[win8_appname_long](~/includes/win8-appname-long-md.md)] XAML app that contains a [Windows.UI.Xaml.Controls.Textblock](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.textblock.aspx) control named `textblock1`.
704+
This example uses the reflection types and members in the [!INCLUDE[net_win8_profile](~/includes/net-win8-profile-md.md)] subset to retrieve the methods and properties of the <xref:System.Globalization.Calendar> type, including inherited methods and properties. To run this code, paste it into the code file for a [!INCLUDE[win8_appname_long](~/includes/win8-appname-long-md.md)] XAML app that contains a [Windows.UI.Xaml.Controls.Textblock](xref:Windows.UI.Xaml.Controls.TextBlock) control named `textblock1`.
705705
706706
[!code-csharp[System.ReflectionWinStoreApp#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.reflectionwinstoreapp/cs/mainpage.xaml.cs#1)]
707707
[!code-vb[System.ReflectionWinStoreApp#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.reflectionwinstoreapp/vb/mainpage.xaml.vb#1)]

xml/System.Text/EncodingProvider.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
]]></format>
8686
</remarks>
8787
<altmember cref="M:System.Text.Encoding.GetEncoding(System.String)" />
88-
<related type="ExternalDocumentation" href="https://msdn.microsoft.com/library/system.text.codepagesencodingprovider.instance(v=vs.110).aspx">CodePagesEncodingProvider.Instance Property</related>
88+
<seealso cref="P:System.Text.CodePagesEncodingProvider.Instance" />
8989
</Docs>
9090
<Members>
9191
<Member MemberName=".ctor">

xml/System.Windows.Controls/DataGrid.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
112112
113113
## Examples
114-
The following example shows how to bind a <xref:System.Windows.Controls.DataGrid> to a <xref:System.Data.DataTable> and use column auto-generation. The <xref:System.Data.DataTable> is populated by using the <xref:System.Data.Common.DataAdapter.Fill%2A> method of a <xref:System.Data.Common.DataAdapter> from a <xref:System.Data.DataSet>. For more information, see [Creating a DataSet](/dotnet/framework/data/adonet/dataset-datatable-dataview/creating-a-dataset) and [Populating a DataSet from a DataAdapter](/dotnet/framework/data/adonet/populating-a-dataset-from-a-dataadapter). To use the [!INCLUDE[wpfdesigner_current_long](~/includes/wpfdesigner-current-long-md.md)], see [Bind WPF controls to data in Visual Studio](https://msdn.microsoft.com/library/00dd5147-db0b-4b59-8d6c-8229b09ca9dd).
114+
The following example shows how to bind a <xref:System.Windows.Controls.DataGrid> to a <xref:System.Data.DataTable> and use column auto-generation. The <xref:System.Data.DataTable> is populated by using the <xref:System.Data.Common.DataAdapter.Fill%2A> method of a <xref:System.Data.Common.DataAdapter> from a <xref:System.Data.DataSet>. For more information, see [Creating a DataSet](/dotnet/framework/data/adonet/dataset-datatable-dataview/creating-a-dataset) and [Populating a DataSet from a DataAdapter](/dotnet/framework/data/adonet/populating-a-dataset-from-a-dataadapter). To use the [!INCLUDE[wpfdesigner_current_long](~/includes/wpfdesigner-current-long-md.md)], see [Bind WPF controls to data in Visual Studio](/visualstudio/data-tools/bind-wpf-controls-to-data-in-visual-studio).
115115
116116
[!code-xaml[DataGrid1#1](~/samples/snippets/csharp/VS_Snippets_Wpf/datagrid1/csharp/window1.xaml#1)]
117117

xml/System.Windows.Controls/TextBox.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ tbSettingText.Text = "Initial text contents of the TextBox.";
8383
tbSettingText.Text = "Initial text contents of the TextBox."
8484
```
8585
86-
For additional examples, see the 4.0 version of this document: [TextBox Class](https://msdn.microsoft.com/library/ms617604\(v=vs.100\).aspx).
87-
8886
]]></format>
8987
</remarks>
9088
<altmember cref="T:System.Windows.Controls.PasswordBox" />

0 commit comments

Comments
 (0)