Skip to content

Commit 7bfd158

Browse files
yishengjin1413mairaw
authored andcommitted
Fix missing content in CAPS migration (#2325)
* migrate some API content added by latest mdoc version * fix missing content * Update Interaction.xml * Update ObjectContext.xml * Update BuildManager.xml * Update CustomErrorsSection.xml * Update FormsAuthenticationUser.xml * Update HttpRuntimeSection.xml * change to relative links
1 parent f150e32 commit 7bfd158

File tree

61 files changed

+205
-205
lines changed

Some content is hidden

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

61 files changed

+205
-205
lines changed

xml/Microsoft.Build.BuildEngine/Project.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Type Name="Project" FullName="Microsoft.Build.BuildEngine.Project">
1+
<Type Name="Project" FullName="Microsoft.Build.BuildEngine.Project">
22
<TypeSignature Language="C#" Value="public class Project" />
33
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Project extends System.Object" />
44
<TypeSignature Language="DocId" Value="T:Microsoft.Build.BuildEngine.Project" />
@@ -694,7 +694,7 @@
694694
<format type="text/markdown"><![CDATA[
695695
696696
## Remarks
697-
The returned <xref:Microsoft.Build.BuildEngine.BuildItemGroup> contains all items in the project after wildcard and property expansion, including those that were not used during the build process due to `Condition` attributes evaluating to `false`. This property value is only generated when certain changes occur, such as a new element being added to the project. Adding or deleting items from this property does not impact the project.
697+
The returned <xref:Microsoft.Build.BuildEngine.BuildItemGroup> contains all items in the project after wildcard and property expansion, including those that were not used during the build process due to `Condition` attributes evaluating to `false`. This property value is only generated when certain changes occur, such as a new [Import](/visualstudio/msbuild/import-element-msbuild) element being added to the project. Adding or deleting items from this property does not impact the project.
698698
699699
]]></format>
700700
</remarks>

xml/Microsoft.Build.BuildEngine/Target.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Type Name="Target" FullName="Microsoft.Build.BuildEngine.Target">
1+
<Type Name="Target" FullName="Microsoft.Build.BuildEngine.Target">
22
<TypeSignature Language="C#" Value="public class Target : System.Collections.IEnumerable" />
33
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Target extends System.Object implements class System.Collections.IEnumerable" />
44
<TypeSignature Language="DocId" Value="T:Microsoft.Build.BuildEngine.Target" />
@@ -132,7 +132,7 @@
132132
## Remarks
133133
This method allows the caller to use the `foreach` statement of the C# language (`for each` in Visual Basic) to iterate through the individual <xref:Microsoft.Build.BuildEngine.BuildTask> objects in the <xref:Microsoft.Build.BuildEngine.Target>.
134134
135-
A <xref:Microsoft.Build.BuildEngine.BuildTask> object represents a child element of the `Target` element.
135+
A <xref:Microsoft.Build.BuildEngine.BuildTask> object represents a child [Task](/visualstudio/msbuild/task-element-msbuild) element of the `Target` element.
136136
137137
]]></format>
138138
</remarks>

xml/Microsoft.VisualBasic/Information.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Type Name="Information" FullName="Microsoft.VisualBasic.Information">
1+
<Type Name="Information" FullName="Microsoft.VisualBasic.Information">
22
<TypeSignature Language="C#" Value="public sealed class Information" />
33
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit Information extends System.Object" />
44
<TypeSignature Language="DocId" Value="T:Microsoft.VisualBasic.Information" />
@@ -420,7 +420,7 @@ testVbName = VbTypeName(sysBadName)
420420
## Remarks
421421
`IsNothing` returns `True` if the expression represents an object variable that currently has no object assigned to it; otherwise, it returns `False`.
422422
423-
`IsNothing` is intended to work on reference types. A value type cannot hold a value of and reverts to its default value if you assign `Nothing` to it. If you supply a value type in `Expression`, `IsNothing` always returns `False`.
423+
`IsNothing` is intended to work on reference types. A value type cannot hold a value of [Nothing](~/docs/visual-basic/language-reference/nothing.md) and reverts to its default value if you assign `Nothing` to it. If you supply a value type in `Expression`, `IsNothing` always returns `False`.
424424
425425
426426

xml/Microsoft.VisualBasic/Interaction.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Type Name="Interaction" FullName="Microsoft.VisualBasic.Interaction">
1+
<Type Name="Interaction" FullName="Microsoft.VisualBasic.Interaction">
22
<TypeSignature Language="C#" Value="public sealed class Interaction" />
33
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit Interaction extends System.Object" />
44
<TypeSignature Language="DocId" Value="T:Microsoft.VisualBasic.Interaction" />
@@ -1048,7 +1048,7 @@ drawObj.SaveAs("C:\Drawings\sample.drw")
10481048
To specify more than the first argument, you must use the `InputBox` function in an expression. If you omit any positional arguments, you must retain the corresponding comma delimiter.
10491049
10501050
> [!NOTE]
1051-
> The `InputBox` function requires `UIPermission` at the <xref:System.Security.Permissions.UIPermissionWindow.SafeTopLevelWindows> level, which may affect its execution in partial-trust situations. For more information, see and <xref:System.Security.Permissions.UIPermission> .
1051+
> The `InputBox` function requires `UIPermission` at the <xref:System.Security.Permissions.UIPermissionWindow.SafeTopLevelWindows> level, which may affect its execution in partial-trust situations. For more information, see [Requesting Permissions](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/yd267cce(v%3dvs.100)) and <xref:System.Security.Permissions.UIPermission> .
10521052
10531053
10541054

xml/Microsoft.VisualBasic/VBCodeProvider.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Type Name="VBCodeProvider" FullName="Microsoft.VisualBasic.VBCodeProvider">
1+
<Type Name="VBCodeProvider" FullName="Microsoft.VisualBasic.VBCodeProvider">
22
<TypeSignature Language="C#" Value="public class VBCodeProvider : System.CodeDom.Compiler.CodeDomProvider" />
33
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit VBCodeProvider extends System.CodeDom.Compiler.CodeDomProvider" />
44
<TypeSignature Language="DocId" Value="T:Microsoft.VisualBasic.VBCodeProvider" />
@@ -115,7 +115,7 @@
115115
<format type="text/markdown"><![CDATA[
116116
117117
## Remarks
118-
The value for `providerOptions` is obtained from the element in the configuration file. You can identify the version of the <xref:Microsoft.VisualBasic.VBCodeProvider> you want to use by specifying the `<providerOption>` element, supplying "CompilerVersion" as the option name, and supplying the version number (for example, "v3.5") as the option value. You must precede the version number with a lower case "v".
118+
The value for `providerOptions` is obtained from the [&lt;providerOption&gt;](~/docs/framework/configure-apps/file-schema/compiler/provideroption-element.md) element in the configuration file. You can identify the version of the <xref:Microsoft.VisualBasic.VBCodeProvider> you want to use by specifying the `<providerOption>` element, supplying "CompilerVersion" as the option name, and supplying the version number (for example, "v3.5") as the option value. You must precede the version number with a lower case "v".
119119
120120
121121

xml/System.Collections.Generic/IDictionary`2.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Type Name="IDictionary&lt;TKey,TValue&gt;" FullName="System.Collections.Generic.IDictionary&lt;TKey,TValue&gt;">
1+
<Type Name="IDictionary&lt;TKey,TValue&gt;" FullName="System.Collections.Generic.IDictionary&lt;TKey,TValue&gt;">
22
<TypeSignature Language="C#" Value="public interface IDictionary&lt;TKey,TValue&gt; : System.Collections.Generic.ICollection&lt;System.Collections.Generic.KeyValuePair&lt;TKey,TValue&gt;&gt;, System.Collections.Generic.IEnumerable&lt;System.Collections.Generic.KeyValuePair&lt;TKey,TValue&gt;&gt;" />
33
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IDictionary`2&lt;TKey, TValue&gt; implements class System.Collections.Generic.ICollection`1&lt;valuetype System.Collections.Generic.KeyValuePair`2&lt;!TKey, !TValue&gt;&gt;, class System.Collections.Generic.IEnumerable`1&lt;valuetype System.Collections.Generic.KeyValuePair`2&lt;!TKey, !TValue&gt;&gt;, class System.Collections.IEnumerable" />
44
<TypeSignature Language="DocId" Value="T:System.Collections.Generic.IDictionary`2" />
@@ -282,7 +282,7 @@
282282
283283
Implementations can vary in how they determine equality of objects; for example, the <xref:System.Collections.Generic.List%601> class uses <xref:System.Collections.Generic.Comparer%601.Default%2A?displayProperty=nameWithType>, whereas the <xref:System.Collections.Generic.Dictionary%602> class allows the user to specify the <xref:System.Collections.Generic.IComparer%601> implementation to use for comparing keys.
284284
285-
The C# language uses the keyword to define the indexers instead of implementing the <xref:System.Collections.Generic.IDictionary%602.Item%2A> property. Visual Basic implements <xref:System.Collections.Generic.IDictionary%602.Item%2A> as a default property, which provides the same indexing functionality.
285+
The C# language uses the [this](~/docs/csharp/language-reference/keywords/this.md) keyword to define the indexers instead of implementing the <xref:System.Collections.Generic.IDictionary%602.Item%2A> property. Visual Basic implements <xref:System.Collections.Generic.IDictionary%602.Item%2A> as a default property, which provides the same indexing functionality.
286286
287287
Implementations can vary in whether they allow `key` to be `null`.
288288

xml/System.Collections.Generic/List`1.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Type Name="List&lt;T&gt;" FullName="System.Collections.Generic.List&lt;T&gt;">
1+
<Type Name="List&lt;T&gt;" FullName="System.Collections.Generic.List&lt;T&gt;">
22
<TypeSignature Language="C#" Value="public class List&lt;T&gt; : System.Collections.Generic.ICollection&lt;T&gt;, System.Collections.Generic.IEnumerable&lt;T&gt;, System.Collections.Generic.IList&lt;T&gt;, System.Collections.Generic.IReadOnlyCollection&lt;T&gt;, System.Collections.Generic.IReadOnlyList&lt;T&gt;, System.Collections.IList" />
33
<TypeSignature Language="ILAsm" Value=".class public auto ansi serializable beforefieldinit List`1&lt;T&gt; extends System.Object implements class System.Collections.Generic.ICollection`1&lt;!T&gt;, class System.Collections.Generic.IEnumerable`1&lt;!T&gt;, class System.Collections.Generic.IList`1&lt;!T&gt;, class System.Collections.Generic.IReadOnlyCollection`1&lt;!T&gt;, class System.Collections.Generic.IReadOnlyList`1&lt;!T&gt;, class System.Collections.ICollection, class System.Collections.IEnumerable, class System.Collections.IList" />
44
<TypeSignature Language="DocId" Value="T:System.Collections.Generic.List`1" />
@@ -2276,7 +2276,7 @@ Public Function StartsWith(e As Employee) As Boolean
22762276
The following example demonstrates the use of the <xref:System.Action%601> delegate to print the contents of a <xref:System.Collections.Generic.List%601> object. In this example the `Print` method is used to display the contents of the list to the console.
22772277
22782278
> [!NOTE]
2279-
> In addition to displaying the contents using the `Print` method, the C# example demonstrates the use of to display the results to the console.
2279+
> In addition to displaying the contents using the `Print` method, the C# example demonstrates the use of [anonymous methods](~/docs/csharp/programming-guide/statements-expressions-operators/anonymous-methods.md) to display the results to the console.
22802280
22812281
[!code-csharp[System.Action_PrintExample#01](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Action_PrintExample/cs/action.cs#01)]
22822282
[!code-vb[System.Action_PrintExample#01](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Action_PrintExample/vb/action.vb#01)]

xml/System.Collections.Generic/SortedDictionary`2.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Type Name="SortedDictionary&lt;TKey,TValue&gt;" FullName="System.Collections.Generic.SortedDictionary&lt;TKey,TValue&gt;">
1+
<Type Name="SortedDictionary&lt;TKey,TValue&gt;" FullName="System.Collections.Generic.SortedDictionary&lt;TKey,TValue&gt;">
22
<TypeSignature Language="C#" Value="public class SortedDictionary&lt;TKey,TValue&gt; : System.Collections.Generic.ICollection&lt;System.Collections.Generic.KeyValuePair&lt;TKey,TValue&gt;&gt;, System.Collections.Generic.IDictionary&lt;TKey,TValue&gt;, System.Collections.Generic.IEnumerable&lt;System.Collections.Generic.KeyValuePair&lt;TKey,TValue&gt;&gt;, System.Collections.Generic.IReadOnlyCollection&lt;System.Collections.Generic.KeyValuePair&lt;TKey,TValue&gt;&gt;, System.Collections.Generic.IReadOnlyDictionary&lt;TKey,TValue&gt;, System.Collections.IDictionary" />
33
<TypeSignature Language="ILAsm" Value=".class public auto ansi serializable beforefieldinit SortedDictionary`2&lt;TKey, TValue&gt; extends System.Object implements class System.Collections.Generic.ICollection`1&lt;valuetype System.Collections.Generic.KeyValuePair`2&lt;!TKey, !TValue&gt;&gt;, class System.Collections.Generic.IDictionary`2&lt;!TKey, !TValue&gt;, class System.Collections.Generic.IEnumerable`1&lt;valuetype System.Collections.Generic.KeyValuePair`2&lt;!TKey, !TValue&gt;&gt;, class System.Collections.Generic.IReadOnlyCollection`1&lt;valuetype System.Collections.Generic.KeyValuePair`2&lt;!TKey, !TValue&gt;&gt;, class System.Collections.Generic.IReadOnlyDictionary`2&lt;!TKey, !TValue&gt;, class System.Collections.ICollection, class System.Collections.IDictionary, class System.Collections.IEnumerable" />
44
<TypeSignature Language="DocId" Value="T:System.Collections.Generic.SortedDictionary`2" />
@@ -884,7 +884,7 @@
884884
885885
A key cannot be `null`, but a value can be, if the value type `TValue` is a reference type.
886886
887-
The C# language uses the keyword to define the indexers instead of implementing the <xref:System.Collections.Generic.SortedDictionary%602.Item%2A> property. Visual Basic implements <xref:System.Collections.Generic.SortedDictionary%602.Item%2A> as a default property, which provides the same indexing functionality.
887+
The C# language uses the [this](~/docs/csharp/language-reference/keywords/this.md) keyword to define the indexers instead of implementing the <xref:System.Collections.Generic.SortedDictionary%602.Item%2A> property. Visual Basic implements <xref:System.Collections.Generic.SortedDictionary%602.Item%2A> as a default property, which provides the same indexing functionality.
888888
889889
Getting the value of this property is an O(log `n`) operation; setting the property is also an O(log `n`) operation.
890890

xml/System.Collections.ObjectModel/Collection`1.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Type Name="Collection&lt;T&gt;" FullName="System.Collections.ObjectModel.Collection&lt;T&gt;">
1+
<Type Name="Collection&lt;T&gt;" FullName="System.Collections.ObjectModel.Collection&lt;T&gt;">
22
<TypeSignature Language="C#" Value="public class Collection&lt;T&gt; : System.Collections.Generic.ICollection&lt;T&gt;, System.Collections.Generic.IEnumerable&lt;T&gt;, System.Collections.Generic.IList&lt;T&gt;, System.Collections.Generic.IReadOnlyCollection&lt;T&gt;, System.Collections.Generic.IReadOnlyList&lt;T&gt;, System.Collections.IList" />
33
<TypeSignature Language="ILAsm" Value=".class public auto ansi serializable beforefieldinit Collection`1&lt;T&gt; extends System.Object implements class System.Collections.Generic.ICollection`1&lt;!T&gt;, class System.Collections.Generic.IEnumerable`1&lt;!T&gt;, class System.Collections.Generic.IList`1&lt;!T&gt;, class System.Collections.Generic.IReadOnlyCollection`1&lt;!T&gt;, class System.Collections.Generic.IReadOnlyList`1&lt;!T&gt;, class System.Collections.ICollection, class System.Collections.IEnumerable, class System.Collections.IList" />
44
<TypeSignature Language="DocId" Value="T:System.Collections.ObjectModel.Collection`1" />
@@ -968,7 +968,7 @@
968968
969969
This property provides the ability to access a specific element in the collection by using the following syntax: `myCollection[index]`.
970970
971-
The C# language uses the keyword to define the indexers instead of implementing the <xref:System.Collections.ObjectModel.Collection%601.Item%2A> property. Visual Basic implements <xref:System.Collections.ObjectModel.Collection%601.Item%2A> as a default property, which provides the same indexing functionality.
971+
The C# language uses the [this](~/docs/csharp/language-reference/keywords/this.md) keyword to define the indexers instead of implementing the <xref:System.Collections.ObjectModel.Collection%601.Item%2A> property. Visual Basic implements <xref:System.Collections.ObjectModel.Collection%601.Item%2A> as a default property, which provides the same indexing functionality.
972972
973973
Retrieving the value of this property is an O(1) operation; setting the property is also an O(1) operation.
974974

xml/System.Collections.ObjectModel/ReadOnlyCollection`1.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Type Name="ReadOnlyCollection&lt;T&gt;" FullName="System.Collections.ObjectModel.ReadOnlyCollection&lt;T&gt;">
1+
<Type Name="ReadOnlyCollection&lt;T&gt;" FullName="System.Collections.ObjectModel.ReadOnlyCollection&lt;T&gt;">
22
<TypeSignature Language="C#" Value="public class ReadOnlyCollection&lt;T&gt; : System.Collections.Generic.ICollection&lt;T&gt;, System.Collections.Generic.IEnumerable&lt;T&gt;, System.Collections.Generic.IList&lt;T&gt;, System.Collections.Generic.IReadOnlyCollection&lt;T&gt;, System.Collections.Generic.IReadOnlyList&lt;T&gt;, System.Collections.IList" />
33
<TypeSignature Language="ILAsm" Value=".class public auto ansi serializable beforefieldinit ReadOnlyCollection`1&lt;T&gt; extends System.Object implements class System.Collections.Generic.ICollection`1&lt;!T&gt;, class System.Collections.Generic.IEnumerable`1&lt;!T&gt;, class System.Collections.Generic.IList`1&lt;!T&gt;, class System.Collections.Generic.IReadOnlyCollection`1&lt;!T&gt;, class System.Collections.Generic.IReadOnlyList`1&lt;!T&gt;, class System.Collections.ICollection, class System.Collections.IEnumerable, class System.Collections.IList" />
44
<TypeSignature Language="DocId" Value="T:System.Collections.ObjectModel.ReadOnlyCollection`1" />
@@ -572,7 +572,7 @@
572572
## Remarks
573573
This property provides the ability to access a specific element in the collection by using the following C# syntax: `myCollection[index]` (`myCollection(index)` in Visual Basic).
574574
575-
The C# language uses the keyword to define the indexers instead of implementing the <xref:System.Collections.ObjectModel.ReadOnlyCollection%601.Item%2A> property. Visual Basic implements <xref:System.Collections.ObjectModel.ReadOnlyCollection%601.Item%2A> as a default property, which provides the same indexing functionality.
575+
The C# language uses the [this](~/docs/csharp/language-reference/keywords/this.md) keyword to define the indexers instead of implementing the <xref:System.Collections.ObjectModel.ReadOnlyCollection%601.Item%2A> property. Visual Basic implements <xref:System.Collections.ObjectModel.ReadOnlyCollection%601.Item%2A> as a default property, which provides the same indexing functionality.
576576
577577
Retrieving the value of this property is an O(1) operation.
578578

0 commit comments

Comments
 (0)