Skip to content

Replace MSDN links #5242

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

Merged
merged 5 commits into from
Jan 19, 2021
Merged
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
2 changes: 1 addition & 1 deletion xml/Microsoft.Build.Tasks/CallTarget.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</Attribute>
</Attributes>
<Docs>
<summary>Implements the <c>CallTarget</c> task. Use the <c>CallTarget</c> element in your project file to create and execute this task. For usage and parameter information, see [CallTarget Task](https://msdn.microsoft.com/library/bb1fe2c4-4383-436f-8326-c24cc4a46150).</summary>
<summary>Implements the <c>CallTarget</c> task. Use the <c>CallTarget</c> element in your project file to create and execute this task. For usage and parameter information, see [CallTarget Task](/previous-versions/visualstudio/visual-studio-2015/msbuild/calltarget-task).</summary>
<remarks>
This class implements the "CallTarget" task, which invokes other targets within the same
project file. Marked RunInMTA because we do not want this task to ever be invoked explicitly
Expand Down
2 changes: 1 addition & 1 deletion xml/Microsoft.Build.Tasks/MSBuild.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</Attribute>
</Attributes>
<Docs>
<summary>Implements the <c>MSBuild</c> task. Use the <c>MSBuild</c> element in your project file to create and execute this task. For usage and parameter information, see [MSBuild Task](https://msdn.microsoft.com/library/76577f6c-7669-44ad-a840-363e37a04d34).</summary>
<summary>Implements the <c>MSBuild</c> task. Use the <c>MSBuild</c> element in your project file to create and execute this task. For usage and parameter information, see [MSBuild Task](/previous-versions/visualstudio/visual-studio-2015/msbuild/msbuild-task).</summary>
<remarks>
This class implements the "MSBuild" task, which hands off child project files to the MSBuild engine to be built.
Marked RunInMTA because there is no reason MSBuild tasks should run on a thread other than that of the
Expand Down
4 changes: 2 additions & 2 deletions xml/Microsoft.Build.Tasks/ResolveComReference.xml
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
This property may contain item metadata. For more information, see the section "TypeLibFiles Item Metadata" in [ResolveComReference Task](https://msdn.microsoft.com/library/c9bf5fcf-6453-40ea-b50f-a212adc3e9b5).
This property may contain item metadata. For more information, see the section "TypeLibFiles Item Metadata" in [ResolveComReference Task](/previous-versions/visualstudio/visual-studio-2015/msbuild/resolvecomreference-task).

]]></format>
</remarks>
Expand Down Expand Up @@ -809,7 +809,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
This property may contain item metadata. For more information, see the section "TypeLibFiles Item Metadata" in [ResolveComReference Task](https://msdn.microsoft.com/library/c9bf5fcf-6453-40ea-b50f-a212adc3e9b5).
This property may contain item metadata. For more information, see the section "TypeLibFiles Item Metadata" in [ResolveComReference Task](/previous-versions/visualstudio/visual-studio-2015/msbuild/resolvecomreference-task).

]]></format>
</remarks>
Expand Down
4 changes: 2 additions & 2 deletions xml/Microsoft.JScript/ErrorType.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>An [eval Method (Visual Studio - JScript)](https://msdn.microsoft.com/library/8af3274a-ce81-46db-854c-25db60cd9b38) error. Corresponds to the <see cref="T:Microsoft.JScript.EvalErrorObject" /> object.</summary>
<summary>An [eval Method (Visual Studio - JScript)](/previous-versions/visualstudio/visual-studio-2010/b51a45x6(v=vs.100)) error. Corresponds to the <see cref="T:Microsoft.JScript.EvalErrorObject" /> object.</summary>
<forInternalUseOnly />
</Docs>
</Member>
Expand Down Expand Up @@ -185,4 +185,4 @@
</Docs>
</Member>
</Members>
</Type>
</Type>
4 changes: 2 additions & 2 deletions xml/Microsoft.JScript/EvalErrorObject.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
</Base>
<Interfaces />
<Docs>
<summary>Represents an error that occurs when the <see langword="eval" /> method is used. For more information, see [eval Method (Visual Studio - JScript)](https://msdn.microsoft.com/library/8af3274a-ce81-46db-854c-25db60cd9b38).</summary>
<summary>Represents an error that occurs when the <see langword="eval" /> method is used. For more information, see [eval Method (Visual Studio - JScript)](/previous-versions/visualstudio/visual-studio-2010/b51a45x6(v=vs.100)).</summary>
<remarks>To be added.</remarks>
<forInternalUseOnly />
<altmember cref="T:Microsoft.JScript.ErrorType" />
</Docs>
<Members />
</Type>
</Type>
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@

[!code-vb[VbVbalrMyResources#10](~/samples/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/Form1.vb#10)]

For this example to work, your application must have a string named `Message` in the application's resource file, and the application should have the French-culture version of that resource file, `Resources.fr-FR.resx`. For more information, see [How to: Add or Remove Resources](https://msdn.microsoft.com/library/7b77bc06-3952-4799-b029-def3f8f7f88d).
For this example to work, your application must have a string named `Message` in the application's resource file, and the application should have the French-culture version of that resource file, `Resources.fr-FR.resx`. For more information, see [How to: Add or Remove Resources](/previous-versions/visualstudio/visual-studio-2010/3bka19x4(v=vs.100)).

If the application does not have the French-culture version of that resource file, the `My.Resources` object retrieves the resource from the default-culture resource file.

Expand Down Expand Up @@ -501,7 +501,7 @@

[!code-vb[VbVbalrMyResources#10](~/samples/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/Form1.vb#10)]

For this example to work, your application must have a string named `Message` in the application's resource file, and the application should have the French-culture version of that resource file, `Resources.fr-FR.resx`. For more information, see [How to: Add or Remove Resources](https://msdn.microsoft.com/library/7b77bc06-3952-4799-b029-def3f8f7f88d).
For this example to work, your application must have a string named `Message` in the application's resource file, and the application should have the French-culture version of that resource file, `Resources.fr-FR.resx`. For more information, see [How to: Add or Remove Resources](/previous-versions/visualstudio/visual-studio-2010/3bka19x4(v=vs.100)).

If the application does not have the French-culture version of that resource file, the `My.Resources` object retrieves the resource from the default-culture resource file.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
Typically, you use this method in a loop to process messages.

> [!NOTE]
> The `My.Application.DoEvents` method does not process events in exactly the same way as the form does. Use multithreading to make the form directly handle the events. For more information, see [Multithreaded Applications](https://msdn.microsoft.com/library/a06a1a56-dd16-44e8-bc01-2c2255511bc6).
> The `My.Application.DoEvents` method does not process events in exactly the same way as the form does. Use multithreading to make the form directly handle the events. For more information, see [Using threads and threading](/dotnet/standard/threading/using-threads-and-threading).

> [!CAUTION]
> If a method that handles a user interface (UI) event calls the `My.Application.DoEvents` method, the method might be re-entered before it finishes. This can happen because the `My.Application.DoEvents` method processes Windows messages, and Windows messages can raise events.
Expand Down Expand Up @@ -1137,7 +1137,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
The `SaveMySettingsOnExit` property allows the user to change how the application saves settings, at run time. You can explicitly save setting changes by using the <xref:System.Configuration.ApplicationSettingsBase.Save%2A> method of the `My.Settings` object. For more information about changing and saving settings, see [Application Properties](https://msdn.microsoft.com/library/0ad4926f-636e-41f8-a5b1-faf9d9b0a254).
The `SaveMySettingsOnExit` property allows the user to change how the application saves settings, at run time. You can explicitly save setting changes by using the <xref:System.Configuration.ApplicationSettingsBase.Save%2A> method of the `My.Settings` object. For more information about changing and saving settings, see [Application Properties](/previous-versions/visualstudio/visual-studio-2015/ide/application-properties).

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**:

Expand Down
2 changes: 1 addition & 1 deletion xml/Microsoft.VisualBasic.MyServices/ClipboardProxy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

Because all Windows applications share the system Clipboard, the contents may change when you switch to another application.

A class must be serializable for it to be put on the Clipboard. See [Serialization](https://msdn.microsoft.com/library/f7570c09-7db5-44f2-983a-e8859caeb0d5) for more information.
A class must be serializable for it to be put on the Clipboard. For more information, see [Serialization - C#](/dotnet/csharp/programming-guide/concepts/serialization/) or [Serialization - Visual Basic](/dotnet/visual-basic/programming-guide/concepts/serialization/).

When accessing the Clipboard remotely, a <xref:System.Threading.ThreadStateException> is thrown unless the accessing thread operates in STA (single-threaded apartment) mode. To resolve this issue, set the `ThreadApartmentState` to `STA`. For more information, see <xref:System.STAThreadAttribute>.

Expand Down
2 changes: 1 addition & 1 deletion xml/Microsoft.VisualBasic/Collection.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
## Remarks

> [!NOTE]
> Whenever possible, you should use the generic collections in the <xref:System.Collections.Generic?displayProperty=nameWithType> namespace or the <xref:System.Collections.Concurrent> namespace instead of a Visual Basic `Collection`. For more information, see [Collections](https://msdn.microsoft.com/library/e76533a9-5033-4a0b-b003-9c2be60d185b).
> Whenever possible, you should use the generic collections in the <xref:System.Collections.Generic?displayProperty=nameWithType> namespace or the <xref:System.Collections.Concurrent> namespace instead of a Visual Basic `Collection`. For more information, see [Collections - C#](/dotnet/csharp/programming-guide/concepts/collections) or [Collections - Visual Basic](/dotnet/visual-basic/programming-guide/concepts/collections).

The Visual Basic `Collection` object provides a convenient way to refer to a related group of items as a single object. The items, or *elements*, in a collection need only be related by the fact that they exist in the collection. Elements of a collection do not have to share the same data type.

Expand Down
2 changes: 1 addition & 1 deletion xml/Microsoft.VisualBasic/ErrObject.xml
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ End If
> [!NOTE]
> The <xref:Microsoft.VisualBasic.ErrObject.LastDllError%2A> property is protected by <xref:System.Security.Permissions.SecurityAction.LinkDemand>, which helps prevent it from being accessed from untrusted code. However, <xref:System.Security.Permissions.SecurityAction.LinkDemand> requires only the immediate caller to have <xref:System.Security.Permissions.SecurityPermissionAttribute.UnmanagedCode%2A> permission. If your code can be called from partially trusted code, exposing the value of <xref:Microsoft.VisualBasic.ErrObject.LastDllError%2A> without validation is a security risk.
>
> For important limitations about how to use the <xref:System.Security.Permissions.SecurityAction.LinkDemand> member, see [Demand vs. LinkDemand](https://msdn.microsoft.com/library/1ab877f2-70f4-4e0d-8116-943999dfe8f5). For more information about permissions, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/h846e9b3(v=vs.100)).
> For important limitations about how to use the <xref:System.Security.Permissions.SecurityAction.LinkDemand> member, see [Demand vs. LinkDemand](/previous-versions/dotnet/netframework-4.0/3ky50t49(v=vs.100)). For more information about permissions, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/h846e9b3(v=vs.100)).

Note For smart devices this property always returns zero.

Expand Down
2 changes: 1 addition & 1 deletion xml/Microsoft.VisualBasic/Interaction.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1470,7 +1470,7 @@ ID = Shell("""C:\Program Files\display.exe"" -a -q", , True, 100000)
> If you do not enclose the path and file specification in quotation marks, there is a security risk if the file name or a path node contains spaces. In the preceding example, the path node `\Program Files` includes a space. If the specification were not inside quotation marks and a program named `Program.exe` had been installed in C:\\, for example by illicit tampering, Windows would execute it instead of `display.exe`.

> [!IMPORTANT]
> The `Shell` function requires unmanaged code permission, which might affect its execution in partial-trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://msdn.microsoft.com/library/e5ae402f-6dda-4732-bbe8-77296630f675).
> The `Shell` function requires unmanaged code permission, which might affect its execution in partial-trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](/previous-versions/dotnet/netframework-4.0/h846e9b3(v=vs.100)).

## Examples
The following example uses the `Shell` function to run an application specified by the user. Specifying <xref:Microsoft.VisualBasic.AppWinStyle.NormalFocus?displayProperty=nameWithType> as the second argument opens the application in normal size and gives it the focus.
Expand Down
18 changes: 9 additions & 9 deletions xml/Microsoft.VisualC.StlClr/GenericPair`2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
For more information, see [pair (STL/CLR)](https://msdn.microsoft.com/library/3326b4d9-a52a-49e5-8103-9aa5e8b352de).
For more information, see [pair (STL/CLR)](/cpp/dotnet/utility-stl-clr#pair).

]]></format>
</remarks>
Expand All @@ -43,7 +43,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
For more information, see [pair::pair (STL/CLR)](https://msdn.microsoft.com/library/188035f3-bd37-4b46-96dd-5ceb9a16df79).
For more information, see [pair::pair (STL/CLR)](/cpp/dotnet/utility-stl-clr#pair_pair).

]]></format>
</remarks>
Expand Down Expand Up @@ -74,7 +74,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
For more information, see [pair::pair (STL/CLR)](https://msdn.microsoft.com/library/188035f3-bd37-4b46-96dd-5ceb9a16df79).
For more information, see [pair::pair (STL/CLR)](/cpp/dotnet/utility-stl-clr#pair_pair).

]]></format>
</remarks>
Expand Down Expand Up @@ -125,7 +125,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
For more information, see [pair::pair (STL/CLR)](https://msdn.microsoft.com/library/188035f3-bd37-4b46-96dd-5ceb9a16df79).
For more information, see [pair::pair (STL/CLR)](/cpp/dotnet/utility-stl-clr#pair_pair).

]]></format>
</remarks>
Expand Down Expand Up @@ -154,7 +154,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
For more information, see [pair::pair (STL/CLR)](https://msdn.microsoft.com/library/188035f3-bd37-4b46-96dd-5ceb9a16df79).
For more information, see [pair::pair (STL/CLR)](/cpp/dotnet/utility-stl-clr#pair_pair).

]]></format>
</remarks>
Expand Down Expand Up @@ -185,7 +185,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
For more information, see [pair::pair (STL/CLR)](https://msdn.microsoft.com/library/188035f3-bd37-4b46-96dd-5ceb9a16df79).
For more information, see [pair::pair (STL/CLR)](/cpp/dotnet/utility-stl-clr#pair_pair).

]]></format>
</remarks>
Expand Down Expand Up @@ -219,7 +219,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
For more information, see [operator== (pair) (STL/CLR)](https://msdn.microsoft.com/library/2b4879a1-f326-4fb3-b113-bd8d457f9802).
For more information, see [operator== (pair) (STL/CLR)](/cpp/dotnet/utility-stl-clr#op_eq).

]]></format>
</remarks>
Expand Down Expand Up @@ -253,7 +253,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
For more information, see [pair::first (STL/CLR)](https://msdn.microsoft.com/library/0dd2278f-adf9-46df-8ac8-7e8e1a2ef52e).
For more information, see [pair::first (STL/CLR)](/cpp/dotnet/utility-stl-clr#first).

]]></format>
</remarks>
Expand Down Expand Up @@ -313,7 +313,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
For more information, see [pair::second (STL/CLR)](https://msdn.microsoft.com/library/f30d3d1f-c7be-45d2-92ff-6861b96a92ff).
For more information, see [pair::second (STL/CLR)](/cpp/dotnet/utility-stl-clr#second).

]]></format>
</remarks>
Expand Down
2 changes: 1 addition & 1 deletion xml/Microsoft.Win32/FileDialog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@

If more than one file name is selected (length of <xref:Microsoft.Win32.FileDialog.SafeFileNames%2A> is greater than one) then this property contains only the first selected file name.

See [Safe File Upload from an XBAP Sample](https://msdn.microsoft.com/library/01206dd3-acc7-45ff-aeb9-502c20aaad2c).
See [Safe File Upload from an XBAP Sample](/previous-versions/dotnet/netframework-3.5/aa358504(v=vs.90)).

]]></format>
</remarks>
Expand Down
Loading