You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix/replace links
* fixed link
* Update removing-elements-attributes-and-nodes-from-an-xml-tree.md
* fixed broken links
* replaced one more link
* replaced a few more links
* fixed formatting
* fixed links format
* trying to fix broken link
* fixed links format
* added missing punctuation
* fixed link
Copy file name to clipboardExpand all lines: docs/csharp/programming-guide/concepts/linq/removing-elements-attributes-and-nodes-from-an-xml-tree.md
+2-7Lines changed: 2 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,16 @@
1
1
---
2
2
title: "Removing Elements, Attributes, and Nodes from an XML Tree (C#)"
3
-
ms.custom: ""
4
3
ms.date: "2015-07-20"
5
4
ms.prod: .net
6
-
ms.reviewer: ""
7
-
ms.suite: ""
8
5
ms.technology:
9
6
- "devlang-csharp"
10
-
11
7
ms.topic: "article"
12
8
dev_langs:
13
9
- "CSharp"
14
10
ms.assetid: 07dd06d6-1117-4077-bf98-9120cf51176e
15
11
caps.latest.revision: 4
16
12
author: "BillWagner"
17
13
ms.author: "wiwagn"
18
-
19
14
---
20
15
# Removing Elements, Attributes, and Nodes from an XML Tree (C#)
21
16
You can modify an XML tree, removing elements, attributes, and other types of nodes.
@@ -28,8 +23,8 @@ You can modify an XML tree, removing elements, attributes, and other types of no
28
23
29
24
|Method|Description|
30
25
|------------|-----------------|
31
-
|[XAttribute.Remove](https://msdn.microsoft.com/library/system.xml.linq.xattribute.remove\(v=vs.110\).aspx)|Removes an <xref:System.Xml.Linq.XAttribute> from its parent.|
32
-
|[XContainer.RemoveNodes](https://msdn.microsoft.com/library/system.xml.linq.xcontainer.removenodes\(v=vs.110\).aspx)|Removes the child nodes from an <xref:System.Xml.Linq.XContainer>.|
26
+
|<xref:System.Xml.Linq.XAttribute.Remove%2A?displayProperty=fullName>|Removes an <xref:System.Xml.Linq.XAttribute> from its parent.|
27
+
|<xref:System.Xml.Linq.XContainer.RemoveNodes%2A?displayProperty=fullName>|Removes the child nodes from an <xref:System.Xml.Linq.XContainer>.|
33
28
|<xref:System.Xml.Linq.XElement.RemoveAll%2A?displayProperty=fullName>|Removes content and attributes from an <xref:System.Xml.Linq.XElement>.|
34
29
|<xref:System.Xml.Linq.XElement.RemoveAttributes%2A?displayProperty=fullName>|Removes the attributes of an <xref:System.Xml.Linq.XElement>.|
35
30
|<xref:System.Xml.Linq.XElement.SetAttributeValue%2A?displayProperty=fullName>|If you pass `null` for value, then removes the attribute.|
Copy file name to clipboardExpand all lines: docs/framework/app-domains/how-to-load-assemblies-into-an-application-domain.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,9 @@ ms.author: "ronpet"
19
19
manager: "wpickett"
20
20
---
21
21
# How to: Load Assemblies into an Application Domain
22
-
There are several ways to load an assembly into an application domain. The recommended way is to use the `static` (`Shared` in Visual Basic) <xref:System.Reflection.Assembly.Load%2A> method of the [System.Reflection.Assembly](https://msdn.microsoft.com/en-us/library/system.reflection.aspx) class. Other ways assemblies can be loaded include:
22
+
There are several ways to load an assembly into an application domain. The recommended way is to use the `static` (`Shared` in Visual Basic) <xref:System.Reflection.Assembly.Load%2A> method of the <xref:System.Reflection.Assembly?displayProperty=fullName> class. Other ways assemblies can be loaded include:
23
23
24
-
- The <xref:System.Reflection.Assembly.LoadFrom%2A> method of the [Assembly](https://msdn.microsoft.com/en-us/library/system.reflection.aspx) class loads an assembly given its file location. Loading assemblies with this method uses a different load context.
24
+
- The <xref:System.Reflection.Assembly.LoadFrom%2A> method of the <xref:System.Reflection.Assembly> class loads an assembly given its file location. Loading assemblies with this method uses a different load context.
25
25
26
26
- The <xref:System.Reflection.Assembly.ReflectionOnlyLoad%2A> and <xref:System.Reflection.Assembly.ReflectionOnlyLoadFrom%2A> methods load an assembly into the reflection-only context. Assemblies loaded into this context can be examined but not executed, allowing the examination of assemblies that target other platforms. See [How to: Load Assemblies into the Reflection-Only Context](../../../docs/framework/reflection-and-codedom/how-to-load-assemblies-into-the-reflection-only-context.md).
Copy file name to clipboardExpand all lines: docs/framework/deployment/how-the-runtime-locates-assemblies.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ To successfully deploy your .NET Framework application, you must understand how
42
42
43
43
You can also make a dynamic reference to an assembly by providing the calling method with only partial information about the assembly, such as specifying only the assembly name. In this case, only the application directory is searched for the assembly, and no other checking occurs. You make a partial reference using any of the various methods for loading assemblies such as <xref:System.Reflection.Assembly.Load%2A?displayProperty=fullName> or <xref:System.AppDomain.Load%2A?displayProperty=fullName>.
44
44
45
-
Finally, you can make a dynamic reference using a method such as [System.Reflection.Assembly.Load](https://msdn.microsoft.com/en-us/library/system.reflection.assembly.load.aspx) and provide only partial information; you then qualify the reference using the [\<qualifyAssembly>](../../../docs/framework/configure-apps/file-schema/runtime/qualifyassembly-element.md) element in the application configuration file. This element allows you to provide the full reference information (name, version, culture and, if applicable, the public key token) in your application configuration file instead of in your code. You would use this technique if you wanted to fully qualify a reference to an assembly outside the application directory, or if you wanted to reference an assembly in the global assembly cache but you wanted the convenience of specifying the full reference in the configuration file instead of in your code.
45
+
Finally, you can make a dynamic reference using a method such as <xref:System.Reflection.Assembly.Load*?displayProperty=fullName> and provide only partial information; you then qualify the reference using the [\<qualifyAssembly>](../../../docs/framework/configure-apps/file-schema/runtime/qualifyassembly-element.md) element in the application configuration file. This element allows you to provide the full reference information (name, version, culture and, if applicable, the public key token) in your application configuration file instead of in your code. You would use this technique if you wanted to fully qualify a reference to an assembly outside the application directory, or if you wanted to reference an assembly in the global assembly cache but you wanted the convenience of specifying the full reference in the configuration file instead of in your code.
46
46
47
47
> [!NOTE]
48
48
> This type of partial reference should not be used with assemblies that are shared among several applications. Because configuration settings are applied per application and not per assembly, a shared assembly using this type of partial reference would require each application using the shared assembly to have the qualifying information in its configuration file.
| **Binding command instances** | To provide a mechanism to bind View-Model-based command instances to View-based input gestures, the <xref:System.Windows.Input.InputBinding> class now inherits from <xref:System.Windows.Freezable> instead of <xref:System.Windows.DependencyObject>. The following properties are now dependency properties:<br><br>* <xref:System.Windows.Input.InputBinding.Command><br>* <xref:System.Windows.Input.InputBinding.CommandParameter><br>* <xref:System.Windows.Input.InputBinding.CommandTarget><br><br>This change results in the following:<br><br>* An <xref:System.Windows.Input.InputBinding> object is now frozen when it is registered instead of remaining mutable.<br>* You cannot access instance-level <xref:System.Windows.Input.InputBinding> objects from multiple threads, due to the restrictions of the <xref:System.Windows.DependencyObject> class.<br>* You cannot mutate class-level input bindings after their registration, due to the restrictions of the <xref:System.Windows.Freezable> class.<br>* You cannot specify input bindings on command instances that are created in a View-Model. | Create separate instances of an <xref:System.Windows.Input.InputBinding> class on separate threads if bindings are to be mutable, or freeze them otherwise. Do not mutate a class-level static <xref:System.Windows.Input.InputBinding> after it has been registered. |
258
258
|**Browser applications**| WPF Browser applications (.XBAP) now process key events just like stand-alone WPF applications so that objects receive routed key events in the correct order. | None. |
259
-
|**Dead key combinations**| WPF obfuscates dead keys, which produce no visible character, but instead indicates that the key is to be combined with the next letter key to produce one character. The key input events, such as the [KeyDown](https://msdn.microsoft.com/library/system.windows.input.keyboard.keydown(v=vs.100).aspx) event, report when a key is a dead key by setting the <xref:System.Windows.Input.KeyEventArgs.Key> property to the <xref:System.Windows.Input.Key> value. This is usually expected behavior because applications usually do not intend to respond to keyboard input that creates a combined character. | Applications that expect to read keys that were part of combined characters can get the now obfuscated key by using the <xref:System.Windows.Input.KeyEventArgs.DeadCharProcessedKey> property. |
260
-
|**Focus manager**| When the [FocusManager.GetFocusedElement](https://msdn.microsoft.com/library/ms604088(v=vs.100).aspx) method is passed an element that has the [IsFocusScope](https://msdn.microsoft.com/library/system.windows.input.focusmanager.isfocusscope(v=vs.100).aspx) attached property set to `true`, the method returns an element that is the last keyboard-focused element within that focus scope if and only if the returned element belongs to the same <xref:System.Windows.PresentationSource> object as the element that is passed to the method. | None. |
259
+
|**Dead key combinations**| WPF obfuscates dead keys, which produce no visible character, but instead indicates that the key is to be combined with the next letter key to produce one character. The key input events, such as the <xref:System.Windows.Input.Keyboard.KeyDownEvent> event, report when a key is a dead key by setting the <xref:System.Windows.Input.KeyEventArgs.Key> property to the <xref:System.Windows.Input.Key> value. This is usually expected behavior because applications usually do not intend to respond to keyboard input that creates a combined character. | Applications that expect to read keys that were part of combined characters can get the now obfuscated key by using the <xref:System.Windows.Input.KeyEventArgs.DeadCharProcessedKey> property. |
260
+
|**Focus manager**| When the <xref:System.Windows.Input.FocusManager.GetFocusedElement(System.Windows.DependencyObject)?displayProperty=fullName> method is passed an element that has the [IsFocusScope](https://msdn.microsoft.com/library/system.windows.input.focusmanager.isfocusscope.aspx) attached property set to `true`, the method returns an element that is the last keyboard-focused element within that focus scope if and only if the returned element belongs to the same <xref:System.Windows.PresentationSource> object as the element that is passed to the method. | None. |
|**Chameleon schemas**| To prevent data corruption, chameleon schemas are now cloned correctly when they are included with multiple schemas.<br><br>Chameleon schemas are schemas that do not have a target namespace, and when they are included in another XSD, they take on the target namespace of the importing schema. They are often used to include common types into a schema. |
295
-
|**ID functions**| The XSLT [id function](https://msdn.microsoft.com/library/ms190915.aspx) now returns the correct value instead of null when an <xref:System.Xml.XmlReader> object is passed to an XLST.<br><br>If the user created an <xref:System.Xml.XmlReader> object from a LINQ to XML class by using the <xref:System.Xml.Linq.XNode.CreateReader%2A> method, and this <xref:System.Xml.XmlReader> object was passed to an XSLT, any instances of the `id` function in the XSLT previously returned null. This is not an allowed return value for the `id` function. |
295
+
|**ID functions**| The XSLT [id function](/sql/xquery/functions-on-sequences-id) now returns the correct value instead of null when an <xref:System.Xml.XmlReader> object is passed to an XLST.<br><br>If the user created an <xref:System.Xml.XmlReader> object from a LINQ to XML class by using the <xref:System.Xml.Linq.XNode.CreateReader%2A> method, and this <xref:System.Xml.XmlReader> object was passed to an XSLT, any instances of the `id` function in the XSLT previously returned null. This is not an allowed return value for the `id` function. |
296
296
|**Namespace attribute**| To prevent data corruption, an <xref:System.Xml.XPath.XPathNavigator> object now returns the local name of the `x:xmlns` attribute correctly. |
297
297
|**Namespace declarations**| An <xref:System.Xml.XmlReader> object on a sub-tree no longer creates duplicate namespace declarations within one XML element. |
298
298
|**Schema validation**| To prevent erroneous schema validation, the <xref:System.Xml.Schema.XmlSchemaSet> class allows for XSD schemas to be compiled correctly and consistently. These schemas can include other schemas; for example, `A.xsd` can include `B.xsd`, which can include `C.xsd`. Compiling any one of these causes this graph of dependencies to be traversed. |
Copy file name to clipboardExpand all lines: docs/framework/tools/winres-exe-windows-forms-resource-editor.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -140,7 +140,7 @@ winres /?
140
140
141
141
4. To save the localized version of the .resx or .resources file, click the **Save** icon or the same command on the **File** menu. The tool displays the **Select Culture** window.
142
142
143
-
5. Select the appropriate culture and file mode then click **OK**. The tool saves the file, using the naming convention that the run time expects for localized resource files. For example, if you localize `TestApp.resources` for German in Germany, the tool saves the file as `TestApp.de-DE.resources`. If you localize `TestApp.resx` for German in Germany, the tool saves the file as `TestApp.de-DE.resx`. For more information about resource naming conventions, see [Packaging and Deploying Resources](../../../docs/framework/resources/packaging-and-deploying-resources-in-desktop-apps.md). For a list of the predefined culture names used by the run time, see the [CultureInfo Class](https://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx).
143
+
5. Select the appropriate culture and file mode then click **OK**. The tool saves the file, using the naming convention that the run time expects for localized resource files. For example, if you localize `TestApp.resources` for German in Germany, the tool saves the file as `TestApp.de-DE.resources`. If you localize `TestApp.resx` for German in Germany, the tool saves the file as `TestApp.de-DE.resx`. For more information about resource naming conventions, see [Packaging and Deploying Resources](../../../docs/framework/resources/packaging-and-deploying-resources-in-desktop-apps.md). For a list of the predefined culture names used by the run time, see the <xref:System.Globalization.CultureInfo> class.
This callback is controlled by setting the [COR_PRF_HIGH_IN_MEMORY_SYMBOLS_UPDATED](../../../../docs/framework/unmanaged-api/profiling/cor-prf-high-monitor-enumeration.md) event mask flag when calling the [ICorProfilerCallback5::SetEventMask2](../../../../docs/framework/unmanaged-api/profiling/icorprofilerinfo5-seteventmask2-method.md) method.
46
46
47
47
> [!NOTE]
48
-
> This event is not currently raised for symbols implicitly created or modified via <xref:System.Reflection.Emit> APIs.
48
+
> This event is not currently raised for symbols implicitly created or modified via <xref:System.Reflection.Emit> APIs.
49
49
50
-
Even when symbols are provided up front in a call to one of the overloads of the managed [Assembly.Load](https://msdn.microsoft.com/library/system.reflection.assembly.load.aspx) methods that includes a `rawSymbolStore` argument to specify the symbols for the assembly, the runtime may not actually associate the symbolic data with the module until after the [ModuleLoadFinished](../../../../docs/framework/unmanaged-api/profiling/icorprofilercallback-moduleloadfinished-method.md) callback has occurred. This event provides a later opportunity to collect symbols for such modules.
50
+
Even when symbols are provided up front in a call to one of the overloads of the managed <xref:System.Reflection.Assembly.Load*?displayProperty=fullName> methods that includes a `rawSymbolStore` argument to specify the symbols for the assembly, the runtime may not actually associate the symbolic data with the module until after the [ModuleLoadFinished](../../../../docs/framework/unmanaged-api/profiling/icorprofilercallback-moduleloadfinished-method.md) callback has occurred. This event provides a later opportunity to collect symbols for such modules.
51
51
52
52
## Requirements
53
53
**Platforms:** See [System Requirements](../../../../docs/framework/get-started/system-requirements.md).
0 commit comments