Skip to content

Commit 0d45db2

Browse files
authored
remove existing APIs from the missing API list (#10829)
* remove UWP APIs from the missing API list * feedback * remove bad hidden characters * remove bad hidden characters * fix uid * fix uids * fix uid * readd some missing apis * readding missing api * fix uid * fix uid * fix uid * fix uid * fix uids * fix link format * removed old reference links * fix UIDs * fix UIDs
1 parent cf558dd commit 0d45db2

12 files changed

+20
-597
lines changed

_zip/missingapi.yml

-570
Large diffs are not rendered by default.

docs/csharp/misc/cs0415.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.assetid: 1ed45b02-4568-4af4-b2a6-c8b01230d19a
1010
# Compiler Error CS0415
1111
The 'IndexerName' attribute is valid only on an indexer that is not an explicit interface member declaration
1212

13-
This error occurs if you use an IndexerName attribute on an indexer that was an explicit implementation of an interface. This error may be avoided by removing the interface name from the declaration of the indexer, if possible. For more information, see the [IndexerNameAttribute Class](xref:System.Runtime.CompilerServices.IndexerNameAttribute).
13+
This error occurs if you use an IndexerName attribute on an indexer that was an explicit implementation of an interface. This error may be avoided by removing the interface name from the declaration of the indexer, if possible. For more information, see the [IndexerNameAttribute Class](xref:System.Runtime.CompilerServices.IndexerNameAttribute).
1414

1515
The following sample generates CS0415:
1616

docs/csharp/misc/cs0668.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.assetid: 7bdaa795-ce13-4284-b753-a617c1735cfa
1010
# Compiler Error CS0668
1111
Two indexers have different names; the IndexerName attribute must be used with the same name on every indexer within a type
1212

13-
The values passed to the **IndexerName** attribute must be the same for all indexers in a type. For more information on the **IndexerName** attribute, see [IndexerNameAttribute Class](xref:System.Runtime.CompilerServices.IndexerNameAttribute).
13+
The values passed to the **IndexerName** attribute must be the same for all indexers in a type. For more information on the **IndexerName** attribute, see [IndexerNameAttribute Class](xref:System.Runtime.CompilerServices.IndexerNameAttribute).
1414

1515
The following sample generates CS0668:
1616

docs/csharp/programming-guide/concepts/linq/how-to-debug-empty-query-results-sets.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ End of result set
4444
## Example
4545
This example shows creation of XML in a namespace, and a query that is coded properly.
4646

47-
The solution is to declare and initialize an <xref:System.Xml.Linq.XNamespace> object, and to use it when specifying <xref:System.Xml.Linq.XName> objects. In this case, the argument to the <xref:System.Xml.Linq.XElement.Elements%2A> method is an <xref:System.Xml.Linq.XName> object.
47+
The solution is to declare and initialize an <xref:System.Xml.Linq.XNamespace> object, and to use it when specifying <xref:System.Xml.Linq.XName> objects. In this case, the argument to the <xref:System.Xml.Linq.XContainer.Elements%2A> method is an <xref:System.Xml.Linq.XName> object.
4848

4949
```csharp
5050
XElement root = XElement.Parse(

docs/csharp/programming-guide/concepts/linq/preserving-white-space-while-serializing.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ This topic describes how to control white space when serializing an XML tree.
1717

1818
- <xref:System.Xml.Linq.XDocument.Save%2A?displayProperty=nameWithType>
1919

20-
- <xref:System.Xml.Linq.XElement.ToString%2A?displayProperty=nameWithType>
20+
- [XElement.ToString()](xref:System.Xml.Linq.XNode.ToString%2A?displayProperty=nameWithType)
2121

22-
- <xref:System.Xml.Linq.XDocument.ToString%2A?displayProperty=nameWithType>
22+
- [XDocument.ToString()](xref:System.Xml.Linq.XNode.ToString%2A?displayProperty=nameWithType)
2323

2424
If the method does not take <xref:System.Xml.Linq.SaveOptions> as an argument, then the method will format (indent) the serialized XML. In this case, all insignificant white space in the XML tree is discarded.
2525

docs/csharp/programming-guide/concepts/linq/scope-of-default-namespaces.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ End of result set
4747
## Example
4848
This example shows the creation of XML in a namespace, and a query that is coded properly.
4949

50-
In contrast to the incorrectly coded example above, the correct approach when using C# is to declare and initialize an <xref:System.Xml.Linq.XNamespace> object, and to use it when specifying <xref:System.Xml.Linq.XName> objects. In this case, the argument to the <xref:System.Xml.Linq.XElement.Elements%2A> method is an <xref:System.Xml.Linq.XName> object.
50+
In contrast to the incorrectly coded example above, the correct approach when using C# is to declare and initialize an <xref:System.Xml.Linq.XNamespace> object, and to use it when specifying <xref:System.Xml.Linq.XName> objects. In this case, the argument to the <xref:System.Xml.Linq.XContainer.Elements%2A> method is an <xref:System.Xml.Linq.XName> object.
5151

5252
### Code
5353

docs/framework/wpf/graphics-multimedia/animation-overview.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ ms.assetid: bd9ce563-725d-4385-87c9-d7ee38cf79ea
9797

9898
<a name="opacity_animation_step2"></a>
9999
### Part 2: Create a Storyboard
100-
To apply an animation to an object, you create a <xref:System.Windows.Media.Animation.Storyboard> and use the <xref:System.Windows.Media.Animation.Storyboard.TargetName%2A> and <xref:System.Windows.Media.Animation.Storyboard.TargetProperty%2A> attached properties to specify the object and property to animate.
100+
To apply an animation to an object, you create a <xref:System.Windows.Media.Animation.Storyboard> and use the <xref:System.Windows.Media.Animation.Storyboard.TargetName%2A> and <xref:System.Windows.Media.Animation.Storyboard.TargetProperty> attached properties to specify the object and property to animate.
101101

102102
1. Create the <xref:System.Windows.Media.Animation.Storyboard> and add the animation as its child. The following shows how to create the <xref:System.Windows.Media.Animation.Storyboard> in XAML.
103103

@@ -122,7 +122,7 @@ ms.assetid: bd9ce563-725d-4385-87c9-d7ee38cf79ea
122122
[!code-csharp[animation_ovws2#RectangleOpacityFadeExampleCode_102](../../../../samples/snippets/csharp/VS_Snippets_Wpf/animation_ovws2/CSharp/MainWindow.xaml.cs#rectangleopacityfadeexamplecode_102)]
123123
[!code-vb[animation_ovws2#RectangleOpacityFadeExampleCode_102](../../../../samples/snippets/visualbasic/VS_Snippets_Wpf/animation_ovws2/VisualBasic/MainWindow.xaml.vb#rectangleopacityfadeexamplecode_102)]
124124

125-
3. Use the <xref:System.Windows.Media.Animation.Storyboard.TargetProperty%2A> attached property to specify the property to animate. The following shows how the animation is configured to target the <xref:System.Windows.UIElement.Opacity%2A> property of the <xref:System.Windows.Shapes.Rectangle> in XAML.
125+
3. Use the <xref:System.Windows.Media.Animation.Storyboard.TargetProperty> attached property to specify the property to animate. The following shows how the animation is configured to target the <xref:System.Windows.UIElement.Opacity%2A> property of the <xref:System.Windows.Shapes.Rectangle> in XAML.
126126

127127
[!code-xaml[animation_ovws2#RectangleOpacityFadeExampleXaml_7](../../../../samples/snippets/csharp/VS_Snippets_Wpf/animation_ovws2/CSharp/Window1.xaml#rectangleopacityfadeexamplexaml_7)]
128128

@@ -131,7 +131,7 @@ ms.assetid: bd9ce563-725d-4385-87c9-d7ee38cf79ea
131131
[!code-csharp[animation_ovws2#RectangleOpacityFadeExampleCode_103](../../../../samples/snippets/csharp/VS_Snippets_Wpf/animation_ovws2/CSharp/MainWindow.xaml.cs#rectangleopacityfadeexamplecode_103)]
132132
[!code-vb[animation_ovws2#RectangleOpacityFadeExampleCode_103](../../../../samples/snippets/visualbasic/VS_Snippets_Wpf/animation_ovws2/VisualBasic/MainWindow.xaml.vb#rectangleopacityfadeexamplecode_103)]
133133

134-
For more information about <xref:System.Windows.Media.Animation.Storyboard.TargetProperty%2A> syntax and for additional examples, see the [Storyboards Overview](../../../../docs/framework/wpf/graphics-multimedia/storyboards-overview.md).
134+
For more information about <xref:System.Windows.Media.Animation.Storyboard.TargetProperty> syntax and for additional examples, see the [Storyboards Overview](../../../../docs/framework/wpf/graphics-multimedia/storyboards-overview.md).
135135

136136
<a name="opacity_animation_step3"></a>
137137
### Part 3 (XAML): Associate the Storyboard with a Trigger
@@ -254,7 +254,7 @@ ms.assetid: bd9ce563-725d-4385-87c9-d7ee38cf79ea
254254
The previous sections describe the different types of animations and their timing properties. This section shows how to apply the animation to the property that you want to animate. <xref:System.Windows.Media.Animation.Storyboard> objects provide one way to apply animations to properties. A <xref:System.Windows.Media.Animation.Storyboard> is a *container timeline* that provides targeting information for the animations it contains.
255255

256256
### Targeting Objects and Properties
257-
The <xref:System.Windows.Media.Animation.Storyboard> class provides the <xref:System.Windows.Media.Animation.Storyboard.TargetName%2A> and <xref:System.Windows.Media.Animation.Storyboard.TargetProperty%2A> attached properties. By setting these properties on an animation, you tell the animation what to animate. However, before an animation can target an object, the object must usually be given a name.
257+
The <xref:System.Windows.Media.Animation.Storyboard> class provides the <xref:System.Windows.Media.Animation.Storyboard.TargetName%2A> and <xref:System.Windows.Media.Animation.Storyboard.TargetProperty> attached properties. By setting these properties on an animation, you tell the animation what to animate. However, before an animation can target an object, the object must usually be given a name.
258258

259259
Assigning a name to a <xref:System.Windows.FrameworkElement> differs from assigning a name to a <xref:System.Windows.Freezable> object. Most controls and panels are framework elements; however, most purely graphical objects, such as brushes, transforms, and geometries, are freezable objects. If you are not sure whether a type is a <xref:System.Windows.FrameworkElement> or a <xref:System.Windows.Freezable>, refer to the **Inheritance Hierarchy** section of its reference documentation.
260260

@@ -296,7 +296,7 @@ ms.assetid: bd9ce563-725d-4385-87c9-d7ee38cf79ea
296296

297297
Refer to the example in the previous section that showed how to animate the <xref:System.Windows.UIElement.Opacity%2A> of a rectangle. When the rectangle in the previous example is loaded, its event trigger applies the <xref:System.Windows.Media.Animation.Storyboard>. The timing system creates a copy of the <xref:System.Windows.Media.Animation.Storyboard> and its animation. These copies are frozen (made read-only) and <xref:System.Windows.Media.Animation.Clock> objects are created from them. These clocks do the actual work of animating the targeted properties.
298298

299-
The timing system creates a clock for the <xref:System.Windows.Media.Animation.DoubleAnimation> and applies it to the object and property that is specified by the <xref:System.Windows.Media.Animation.Storyboard.TargetName%2A> and <xref:System.Windows.Media.Animation.Storyboard.TargetProperty%2A> of the <xref:System.Windows.Media.Animation.DoubleAnimation>. In this case, the timing system applies the clock to the <xref:System.Windows.UIElement.Opacity%2A> property of the object that is named "MyRectangle."
299+
The timing system creates a clock for the <xref:System.Windows.Media.Animation.DoubleAnimation> and applies it to the object and property that is specified by the <xref:System.Windows.Media.Animation.Storyboard.TargetName%2A> and <xref:System.Windows.Media.Animation.Storyboard.TargetProperty> of the <xref:System.Windows.Media.Animation.DoubleAnimation>. In this case, the timing system applies the clock to the <xref:System.Windows.UIElement.Opacity%2A> property of the object that is named "MyRectangle."
300300

301301
Although a clock is also created for the <xref:System.Windows.Media.Animation.Storyboard>, the clock is not applied to any properties. Its purpose is to control its child clock, the clock that is created for the <xref:System.Windows.Media.Animation.DoubleAnimation>.
302302

docs/framework/wpf/graphics-multimedia/how-to-animate-a-property-by-using-a-storyboard.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.assetid: f4a314e9-1da2-4367-85fc-1232487efa7a
1212
# How to: Animate a Property by Using a Storyboard
1313
This example shows how to use a <xref:System.Windows.Media.Animation.Storyboard> to animate properties. To animate a property by using a <xref:System.Windows.Media.Animation.Storyboard>, create an animation for each property that you want to animate and also create a <xref:System.Windows.Media.Animation.Storyboard> to contain the animations.
1414

15-
The type of property determines the type of animation to use. For example, to animate a property that takes <xref:System.Double> values, use a <xref:System.Windows.Media.Animation.DoubleAnimation>. The <xref:System.Windows.Media.Animation.Storyboard.TargetName%2A> and <xref:System.Windows.Media.Animation.Storyboard.TargetProperty%2A> attached properties specify the object and property to which the animation is applied.
15+
The type of property determines the type of animation to use. For example, to animate a property that takes <xref:System.Double> values, use a <xref:System.Windows.Media.Animation.DoubleAnimation>. The <xref:System.Windows.Media.Animation.Storyboard.TargetName%2A> and <xref:System.Windows.Media.Animation.Storyboard.TargetProperty> attached properties specify the object and property to which the animation is applied.
1616

1717
To start a storyboard in [!INCLUDE[TLA#tla_xaml](../../../../includes/tlasharptla-xaml-md.md)], use a <xref:System.Windows.Media.Animation.BeginStoryboard> action and an <xref:System.Windows.EventTrigger>. The <xref:System.Windows.EventTrigger> begins the <xref:System.Windows.Media.Animation.BeginStoryboard> action when the event that is specified by its <xref:System.Windows.EventTrigger.RoutedEvent%2A> property occurs. The <xref:System.Windows.Media.Animation.BeginStoryboard> action starts the <xref:System.Windows.Media.Animation.Storyboard>.
1818

docs/framework/wpf/graphics-multimedia/property-animation-techniques-overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This topic describes the different approaches for animating properties: storyboa
3838

3939
1. Declare a <xref:System.Windows.Media.Animation.Storyboard> and one or more animations.
4040

41-
2. Use the <xref:System.Windows.Media.Animation.Storyboard.TargetName%2A> and <xref:System.Windows.Media.Animation.Storyboard.TargetProperty%2A> attached properties to specify the target object and property of each animation.
41+
2. Use the <xref:System.Windows.Media.Animation.Storyboard.TargetName%2A> and <xref:System.Windows.Media.Animation.Storyboard.TargetProperty> attached properties to specify the target object and property of each animation.
4242

4343
3. (Code only) Define a <xref:System.Windows.NameScope> for a <xref:System.Windows.FrameworkElement> or <xref:System.Windows.FrameworkContentElement>. Register the names of the objects to animate with that <xref:System.Windows.FrameworkElement> or <xref:System.Windows.FrameworkContentElement>.
4444

0 commit comments

Comments
 (0)