diff --git a/xml/System.Activities.Expressions/IndexerReference`2.xml b/xml/System.Activities.Expressions/IndexerReference`2.xml
index c232c9f1135..59bc3b9b617 100644
--- a/xml/System.Activities.Expressions/IndexerReference`2.xml
+++ b/xml/System.Activities.Expressions/IndexerReference`2.xml
@@ -31,66 +31,66 @@
The type of the indexer array.Represents an element referenced by an object indexer that can be used as an l-value in an expression.
- in an `Assign` activity to assign an integer value to the object item at index [1,2] and prints the item value to the console. The `Assign` activity is equivalent to the following statement when using an object that implements an indexer. `myObj[1,2] = 4;` .
-
+ in an `Assign` activity to assign an integer value to the object item at index [1,2] and prints the item value to the console. The `Assign` activity is equivalent to the following statement when using an object that implements an indexer. `myObj[1,2] = 4;` .
+
> [!NOTE]
-> Instead of instantiating the l-value expression activity directly, it is strongly recommended that you call , which provides a higher level of abstraction and enables you to implement your workflow more intuitively.
-
-```csharp
-
-// Define a class with a multi-dimensional indexer.
-public class ObjectWithIndexer
-{
- private int[,] array = new int[10,10];
- public int this[int i, int j]
- {
- get { return array[i,j]; }
- set { array[i,j] = value; }
- }
-}
-
-public static void IndexerReferenceSample()
-{
- // Create a variable of type ObjectWithIndexer to store the object item.
- var oivar = new Variable("oivar", new ObjectWithIndexer());
-
- Activity myActivity = new Sequence
- {
- Variables = { oivar },
- Activities =
- {
- // Create an Assign activity with a reference for the object at index [1,2].
- new Assign
- {
- To = new IndexerReference
- {
- Operand = oivar,
- Indices =
- {
- new InArgument(1),
- new InArgument(2)
- }
- },
- // Assign an integer value to the object at index [1,2].
- Value = 4,
- },
- // Print the new item value to the console.
- new WriteLine()
- {
- Text = ExpressionServices.Convert(ctx => oivar.Get(ctx)[1, 2].ToString()),
- }
- }
- };
-
- // Invoke the Sequence activity.
- WorkflowInvoker.Invoke(myActivity);
-}
-
-```
-
+> Instead of instantiating the l-value expression activity directly, it is strongly recommended that you call , which provides a higher level of abstraction and enables you to implement your workflow more intuitively.
+
+```csharp
+
+// Define a class with a multi-dimensional indexer.
+public class ObjectWithIndexer
+{
+ private int[,] array = new int[10,10];
+ public int this[int i, int j]
+ {
+ get { return array[i,j]; }
+ set { array[i,j] = value; }
+ }
+}
+
+public static void IndexerReferenceSample()
+{
+ // Create a variable of type ObjectWithIndexer to store the object item.
+ var oivar = new Variable("oivar", new ObjectWithIndexer());
+
+ Activity myActivity = new Sequence
+ {
+ Variables = { oivar },
+ Activities =
+ {
+ // Create an Assign activity with a reference for the object at index [1,2].
+ new Assign
+ {
+ To = new IndexerReference
+ {
+ Operand = oivar,
+ Indices =
+ {
+ new InArgument(1),
+ new InArgument(2)
+ }
+ },
+ // Assign an integer value to the object at index [1,2].
+ Value = 4,
+ },
+ // Print the new item value to the console.
+ new WriteLine()
+ {
+ Text = ExpressionServices.Convert(ctx => oivar.Get(ctx)[1, 2].ToString()),
+ }
+ }
+ };
+
+ // Invoke the Sequence activity.
+ WorkflowInvoker.Invoke(myActivity);
+}
+
+```
+
]]>
@@ -196,11 +196,11 @@ public static void IndexerReferenceSample()
Gets a collection of arguments that represent the indices of the element in the indexer array.The indices of the element in the indexer array.
- property is read-only, but the items in the collection can be modified and the indices can be changed.
-
+ property is read-only, but the items in the collection can be modified and the indices can be changed.
+
]]>
diff --git a/xml/System.Activities.Expressions/MultidimensionalArrayItemReference`1.xml b/xml/System.Activities.Expressions/MultidimensionalArrayItemReference`1.xml
index f436f74c495..295a216a2cc 100644
--- a/xml/System.Activities.Expressions/MultidimensionalArrayItemReference`1.xml
+++ b/xml/System.Activities.Expressions/MultidimensionalArrayItemReference`1.xml
@@ -29,51 +29,51 @@
The type of elements in the array.Represents an element in a multidimensional array that can be used as an l-value in an expression.
- in an `Assign` activity to assign an integer value to the array element at row 1 and column 2 and prints the value of the array element to the console. The `Assign` activity is equivalent to the following statement when using arrays: `array[1, 2] = 1;`.
-
+ in an `Assign` activity to assign an integer value to the array element at row 1 and column 2 and prints the value of the array element to the console. The `Assign` activity is equivalent to the following statement when using arrays: `array[1, 2] = 1;`.
+
> [!NOTE]
-> Instead of instantiating the l-value expression activity directly, it is strongly recommended that you call , which provides a higher level of abstraction and enables you to implement your workflow more intuitively.
-
-```csharp
-
-public static void MultidimensionalArrayItemReferenceSample()
-{
- // Create a variable to store a multidimensional array.
- var arrayvar = new Variable("arrayvar", new int[4, 5]);
-
- Activity myActivity = new Sequence
- {
- Variables = { arrayvar },
- Activities =
- {
- // Create an Assign activity to assign a value to the array item at index [1,2].
- new Assign
- {
- To = new MultidimensionalArrayItemReference
- {
- Array = arrayvar,
- Indices = {1, 2}
- },
- // Assign an integer value to the array item at row 1 column 2.
- Value = 1,
- },
- // Print the array item value to the console.
- new WriteLine()
- {
- Text = ExpressionServices.Convert(ctx => arrayvar.Get(ctx)[1, 2].ToString()),
- }
- }
- };
-
- // Invoke the Sequence activity.
- WorkflowInvoker.Invoke(myActivity);
-}
-
-```
-
+> Instead of instantiating the l-value expression activity directly, it is strongly recommended that you call , which provides a higher level of abstraction and enables you to implement your workflow more intuitively.
+
+```csharp
+
+public static void MultidimensionalArrayItemReferenceSample()
+{
+ // Create a variable to store a multidimensional array.
+ var arrayvar = new Variable("arrayvar", new int[4, 5]);
+
+ Activity myActivity = new Sequence
+ {
+ Variables = { arrayvar },
+ Activities =
+ {
+ // Create an Assign activity to assign a value to the array item at index [1,2].
+ new Assign
+ {
+ To = new MultidimensionalArrayItemReference
+ {
+ Array = arrayvar,
+ Indices = {1, 2}
+ },
+ // Assign an integer value to the array item at row 1 column 2.
+ Value = 1,
+ },
+ // Print the array item value to the console.
+ new WriteLine()
+ {
+ Text = ExpressionServices.Convert(ctx => arrayvar.Get(ctx)[1, 2].ToString()),
+ }
+ }
+ };
+
+ // Invoke the Sequence activity.
+ WorkflowInvoker.Invoke(myActivity);
+}
+
+```
+
]]>
@@ -214,11 +214,11 @@ public static void MultidimensionalArrayItemReferenceSample()
Gets a collection of arguments that represent the indices of the element in the array.The indices of the element in the array.
- property is read-only, but the items in the collection can be modified and the indices can be changed.
-
+ property is read-only, but the items in the collection can be modified and the indices can be changed.
+
]]>
diff --git a/xml/System.Activities.Expressions/PropertyReference`2.xml b/xml/System.Activities.Expressions/PropertyReference`2.xml
index a2e9dccf875..c469dd77c95 100644
--- a/xml/System.Activities.Expressions/PropertyReference`2.xml
+++ b/xml/System.Activities.Expressions/PropertyReference`2.xml
@@ -25,11 +25,11 @@
The type of the result.A reference to a property.
- unless that activity is compatible with its property.
-
+ unless that activity is compatible with its property.
+
]]>
diff --git a/xml/System.Activities.Expressions/ValueTypeIndexerReference`2.xml b/xml/System.Activities.Expressions/ValueTypeIndexerReference`2.xml
index 18696df405e..a6ee7b34b48 100644
--- a/xml/System.Activities.Expressions/ValueTypeIndexerReference`2.xml
+++ b/xml/System.Activities.Expressions/ValueTypeIndexerReference`2.xml
@@ -31,62 +31,62 @@
The type of indexer array.Represents an element referenced by an indexer on a value type that can be used as an l-value in an expression.
- in an `Assign` activity to assign a `string` value to the `struct` element at index 1 and prints the element value to the console. The `Assign` activity is equivalent to the following statement when using the `struct` defined in the following example: `myStructVariable[1] = "Hello";`.
-
+ in an `Assign` activity to assign a `string` value to the `struct` element at index 1 and prints the element value to the console. The `Assign` activity is equivalent to the following statement when using the `struct` defined in the following example: `myStructVariable[1] = "Hello";`.
+
> [!NOTE]
-> Instead of instantiating the l-value expression activity directly, it is strongly recommended that you call , which provides a higher level of abstraction and enables you to implement your workflow more intuitively.
-
-```csharp
-
- // Define a struct with an indexer.
- struct StructWithIndexer
- {
- string val;
- public string this[int index]
- {
- get { return val; }
- set { val = value; }
- }
- }
-
- public static void ValueTypeIndexerReferenceSample()
- {
- // Create a variable of type StructWithIndexer to store the element.
- var swivar = new Variable("swivar", new StructWithIndexer());
-
- // Create the top-level activity to be invoked later.
- Activity myActivity = new Sequence
- {
- Variables = { swivar },
- Activities =
- {
- // Create an Assign activity with an element at index 1.
- new Assign
- {
- To = new ValueTypeIndexerReference
- {
- OperandLocation = swivar,
- Indices = { new InArgument(1) },
- },
- // Assign a string literal to the element at index 1.
- Value = "Hello",
- },
- new WriteLine()
- {
- Text = ExpressionServices.Convert(ctx => swivar.Get(ctx)[1]),
- }
- }
- };
-
- // Invoke the Sequence activity.
- WorkflowInvoker.Invoke(myActivity);
-}
-
-```
-
+> Instead of instantiating the l-value expression activity directly, it is strongly recommended that you call , which provides a higher level of abstraction and enables you to implement your workflow more intuitively.
+
+```csharp
+
+ // Define a struct with an indexer.
+ struct StructWithIndexer
+ {
+ string val;
+ public string this[int index]
+ {
+ get { return val; }
+ set { val = value; }
+ }
+ }
+
+ public static void ValueTypeIndexerReferenceSample()
+ {
+ // Create a variable of type StructWithIndexer to store the element.
+ var swivar = new Variable("swivar", new StructWithIndexer());
+
+ // Create the top-level activity to be invoked later.
+ Activity myActivity = new Sequence
+ {
+ Variables = { swivar },
+ Activities =
+ {
+ // Create an Assign activity with an element at index 1.
+ new Assign
+ {
+ To = new ValueTypeIndexerReference
+ {
+ OperandLocation = swivar,
+ Indices = { new InArgument(1) },
+ },
+ // Assign a string literal to the element at index 1.
+ Value = "Hello",
+ },
+ new WriteLine()
+ {
+ Text = ExpressionServices.Convert(ctx => swivar.Get(ctx)[1]),
+ }
+ }
+ };
+
+ // Invoke the Sequence activity.
+ WorkflowInvoker.Invoke(myActivity);
+}
+
+```
+
]]>
@@ -192,11 +192,11 @@
Gets a collection of arguments that represent the indices of the element in the indexer array.The indices of the element in the indexer array.
- property is read-only, but the items in the collection can be modified and the indices can be changed.
-
+ property is read-only, but the items in the collection can be modified and the indices can be changed.
+
]]>
diff --git a/xml/System.Activities.Expressions/VariableReference`1.xml b/xml/System.Activities.Expressions/VariableReference`1.xml
index 3008de277f3..429bb516aac 100644
--- a/xml/System.Activities.Expressions/VariableReference`1.xml
+++ b/xml/System.Activities.Expressions/VariableReference`1.xml
@@ -174,11 +174,11 @@
Returns a representation of the .The variable reference.
- property has been set then the string representation consists of the variable's name; otherwise, it consists of the activity ID and name.
-
+ property has been set then the string representation consists of the variable's name; otherwise, it consists of the activity ID and name.
+
]]>
diff --git a/xml/System.Activities.Expressions/VariableValue`1.xml b/xml/System.Activities.Expressions/VariableValue`1.xml
index 329a1f9a88a..e6b439216c0 100644
--- a/xml/System.Activities.Expressions/VariableValue`1.xml
+++ b/xml/System.Activities.Expressions/VariableValue`1.xml
@@ -174,11 +174,11 @@
Returns a representation of the .The value of the variable.
- property has been set then the string representation consists of the variable's name; otherwise, it consists of the activity ID and name.
-
+ property has been set then the string representation consists of the variable's name; otherwise, it consists of the activity ID and name.
+
]]>
diff --git a/xml/System.Activities.Hosting/WorkflowInstance.xml b/xml/System.Activities.Hosting/WorkflowInstance.xml
index 23d17979380..1b7337adf65 100644
--- a/xml/System.Activities.Hosting/WorkflowInstance.xml
+++ b/xml/System.Activities.Hosting/WorkflowInstance.xml
@@ -29,11 +29,11 @@
- An exception in the workflow was uncaught and escaped the root. The host will be notified through the method.
-- The scheduler has run out of work items and is now . The host will be notified through the method. Note that the scheduler could have run out of work items because the instance is idle or because the instance is complete. The value of the property can be used to differentiate between the two.
+- The scheduler has run out of work items and is now . The host will be notified through the method. Note that the scheduler could have run out of work items because the instance is idle or because the instance is complete. The value of the property can be used to differentiate between the two.
- The host can request a change from Running to Paused by calling the or methods of the instance returned by the property. This request should not be considered to have a specific response meaning that the host should not attempt to correlate an OnNotify* or with a specific call to pause. In response to a pause request, the runtime may transition to Paused and call while the scheduler still has pending work items. The value of the property can be used to determine whether the scheduler has no more work or was interrupted by a request to pause.
+ The host can request a change from Running to Paused by calling the or methods of the instance returned by the property. This request should not be considered to have a specific response meaning that the host should not attempt to correlate an OnNotify* or with a specific call to pause. In response to a pause request, the runtime may transition to Paused and call while the scheduler still has pending work items. The value of the property can be used to determine whether the scheduler has no more work or was interrupted by a request to pause.
- The method of the instance returned by the property is the only method that can be called while the is in the Running state. All other methods will throw an if called.Given the rules for how transitions from one state to another, the public notion of Running and Paused can be defined as follows:
+ The method of the instance returned by the property is the only method that can be called while the is in the Running state. All other methods will throw an if called.Given the rules for how transitions from one state to another, the public notion of Running and Paused can be defined as follows:
- Running - The state between a call to and the next WorkflowInstance.OnNotify*.
diff --git a/xml/System.Activities.Presentation.Model/ModelItem.xml b/xml/System.Activities.Presentation.Model/ModelItem.xml
index 938ccbdf8e1..e597ae5abe6 100644
--- a/xml/System.Activities.Presentation.Model/ModelItem.xml
+++ b/xml/System.Activities.Presentation.Model/ModelItem.xml
@@ -373,7 +373,7 @@ Assert.AreEqual(root.Properties["Residence"], location.Source, "sources point to
on an item. If the of this item declares a `RuntimeNamePropertyAttribute`, the property is a direct mapping to the property dictated by that attribute.
+ Not all items need to have names, so this might return `null`. Depending on the type of item and where it sits in the hierarchy, it might not always be legal to set the on an item. If the of this item declares a `RuntimeNamePropertyAttribute`, the property is a direct mapping to the property dictated by that attribute.
]]>
diff --git a/xml/System.Activities.Presentation.Model/ModelItemCollection.xml b/xml/System.Activities.Presentation.Model/ModelItemCollection.xml
index 31d20cc49fb..a63f88c88fd 100644
--- a/xml/System.Activities.Presentation.Model/ModelItemCollection.xml
+++ b/xml/System.Activities.Presentation.Model/ModelItemCollection.xml
@@ -45,11 +45,11 @@
Represents a collection of model items that can be individually accessed by index.
- property will not be updated until the editing scope completes.
-
+ property will not be updated until the editing scope completes.
+
]]>
@@ -136,11 +136,11 @@
Adds a model item to the end of the .Returns wrapped in a .
- .
-
+ .
+
]]>
@@ -316,11 +316,11 @@
Returns the count of items in the collection.The count of items in the collection.
- session. If an object is added to the during a session, the value will not be updated until the session exits.
-
+ session. If an object is added to the during a session, the value will not be updated until the session exits.
+
]]>
@@ -469,11 +469,11 @@
if the collection is a fixed size; otherwise, .
-
@@ -571,11 +571,11 @@
Identifies the Item dependency property.
- . The Item property points to the itself.
-
+ . The Item property points to the itself.
+
]]>
@@ -1196,11 +1196,11 @@ This member is an explicit interface member implementation. It can be used only
The to remove from the .
Removes the first occurrence of a specific object from the .
- , the remains unchanged and no exception is thrown.
-
+ , the remains unchanged and no exception is thrown.
+
]]>
diff --git a/xml/System.Activities.Presentation.PropertyEditing/DialogPropertyValueEditor.xml b/xml/System.Activities.Presentation.PropertyEditing/DialogPropertyValueEditor.xml
index 76f4e9e23d7..66a2199c30e 100644
--- a/xml/System.Activities.Presentation.PropertyEditing/DialogPropertyValueEditor.xml
+++ b/xml/System.Activities.Presentation.PropertyEditing/DialogPropertyValueEditor.xml
@@ -29,9 +29,9 @@
The following list shows the rules for determining whether the or method is used.
- If the property is not a null reference (Nothing in Visual Basic), that is hosted in a host-specific dialog box, which provides host styling. The is not called.
+ If the property is not a null reference (Nothing in Visual Basic), that is hosted in a host-specific dialog box, which provides host styling. The is not called.
- If the property is a null reference (Nothing in Visual Basic), the virtual method is called and you can override this method to show any dialog box.
+ If the property is a null reference (Nothing in Visual Basic), the virtual method is called and you can override this method to show any dialog box.
]]>
diff --git a/xml/System.Activities.Presentation.PropertyEditing/ExtendedPropertyValueEditor.xml b/xml/System.Activities.Presentation.PropertyEditing/ExtendedPropertyValueEditor.xml
index 1d46916731f..87c577a18f2 100644
--- a/xml/System.Activities.Presentation.PropertyEditing/ExtendedPropertyValueEditor.xml
+++ b/xml/System.Activities.Presentation.PropertyEditing/ExtendedPropertyValueEditor.xml
@@ -16,15 +16,15 @@
Container for all extended editor logic for properties.
- class can hold two objects, one for an inline editor and one for an extended editor. The inline editor provides a custom interface that appears within the bounds of the `Properties` window, and the extended editor provides an interface that appears in a new window.
-
- The property returns the XAML template for the visual interface for the inline editor, and the property returns the XAML template for the extended editor. These are typically provided in a ResourceDictionary elsewhere in the project.
-
- You should use the to invoke your custom .
-
+ class can hold two objects, one for an inline editor and one for an extended editor. The inline editor provides a custom interface that appears within the bounds of the `Properties` window, and the extended editor provides an interface that appears in a new window.
+
+ The property returns the XAML template for the visual interface for the inline editor, and the property returns the XAML template for the extended editor. These are typically provided in a ResourceDictionary elsewhere in the project.
+
+ You should use the to invoke your custom .
+
]]>
@@ -88,11 +88,11 @@
The used for the inline editor.
Creates a new instance of with the specified extended and inline editor objects.
- is set to a .
-
+ is set to a .
+
]]>
@@ -126,11 +126,11 @@
Gets or sets the used for the extended pop-up or pinned editor.The object used for the extended pop-up or pinned editor.
- is set to a .
-
+ is set to a .
+
]]>
diff --git a/xml/System.Activities.Presentation.Toolbox/ToolboxCategory.xml b/xml/System.Activities.Presentation.Toolbox/ToolboxCategory.xml
index 651fa4bc9ac..275c6177dad 100644
--- a/xml/System.Activities.Presentation.Toolbox/ToolboxCategory.xml
+++ b/xml/System.Activities.Presentation.Toolbox/ToolboxCategory.xml
@@ -29,13 +29,13 @@
A collection of toolbox items that have been categorized.
- collection contains items of type that are added and removed from an instance of the collection using the and methods.
-
- The class implements the interface. This allows the collection that is storing the toolbox items to provide notifications when properties like the property are changed and methods like and are used to change the contents of the collection.
-
+ collection contains items of type that are added and removed from an instance of the collection using the and methods.
+
+ The class implements the interface. This allows the collection that is storing the toolbox items to provide notifications when properties like the property are changed and methods like and are used to change the contents of the collection.
+
]]>
@@ -64,11 +64,11 @@
Creates an instance of the class.
- collection is an empty `string`.
-
+ collection is an empty `string`.
+
]]>
@@ -92,11 +92,11 @@
The name of the toolbox category collection.
Creates an instance of the class with a specified name.
- collection can be an empty `string`. This is the value assigned by the parameterless constructor, .
-
+ collection can be an empty `string`. This is the value assigned by the parameterless constructor, .
+
]]>
@@ -151,11 +151,11 @@
Gets or sets the name of the toolbox category.The name of the toolbox category.
-
@@ -264,11 +264,11 @@
The index of the array at which the copying begins.
Copies the entire collection to a compatible one-dimensional , starting at the specified index of the target .
- in the same order in which the enumerator iterates through the collection.
-
+ in the same order in which the enumerator iterates through the collection.
+
]]>The is .
@@ -296,11 +296,11 @@
Gets the number of tools contained in the .The number of elements contained in the .
- implements the interface.
-
+ implements the interface.
+
]]>
@@ -328,11 +328,11 @@
if access to the is synchronized (thread safe); otherwise, .
- implements the interface. The property returns an object, which can be used to synchronize access to the .
-
+ implements the interface. The property returns an object, which can be used to synchronize access to the .
+
]]>
@@ -359,11 +359,11 @@
Gets an object that can be used to synchronize access to the .An object that can be used to synchronize access to the .
- implements the interface.
-
+ implements the interface.
+
]]>
@@ -391,15 +391,15 @@
Returns an enumerator that iterates through the collection.An for the .
- is undefined. Therefore, you must call to advance the enumerator to the first element of the collection before reading the value of . An enumerator remains valid as long as the collection remains unchanged. If changes are made to the collection, such as adding, modifying, or deleting elements, the enumerator is no longer valid and its behavior is undefined.
-
- The enumerator does not have exclusive access to the collection; therefore, enumerating through a collection is intrinsically not a thread-safe procedure.
-
+ is undefined. Therefore, you must call to advance the enumerator to the first element of the collection before reading the value of . An enumerator remains valid as long as the collection remains unchanged. If changes are made to the collection, such as adding, modifying, or deleting elements, the enumerator is no longer valid and its behavior is undefined.
+
+ The enumerator does not have exclusive access to the collection; therefore, enumerating through a collection is intrinsically not a thread-safe procedure.
+
]]>
@@ -430,11 +430,11 @@
Adds a tool to the .The zero-based index of the tool added to the collection.
- implements the interface.
-
+ implements the interface.
+
]]>The is of a type that is not assignable to the implemented by the collection.
@@ -462,11 +462,11 @@
Removes all the tools from the .
- implements the interface.
-
+ implements the interface.
+
]]>
@@ -498,11 +498,11 @@
if the is found in the ; otherwise, .
- implements the interface.
-
+ implements the interface.
+
]]>The is .
@@ -534,11 +534,11 @@
Determines the index of a specific tool in the .The zero-based index of if found in the ; otherwise, -1.
- implements the interface.
-
+ implements the interface.
+
]]>The is .
@@ -571,15 +571,15 @@
The tool added to the collection.
Inserts a tool into the at the specified index.
- implements the interface.
-
- If `index` equals the number of items in the , then `value` is appended to the end.
-
- In collections of contiguous elements, such as lists, the elements that follow the insertion point move down to accommodate the new element. If the collection is indexed, the indexes of the elements that are moved are also updated.
-
+ implements the interface.
+
+ If `index` equals the number of items in the , then `value` is appended to the end.
+
+ In collections of contiguous elements, such as lists, the elements that follow the insertion point move down to accommodate the new element. If the collection is indexed, the indexes of the elements that are moved are also updated.
+
]]>The is not valid for the collection.
@@ -610,11 +610,11 @@
if the has a fixed size; otherwise, .
- implements the interface.
-
+ implements the interface.
+
]]>
@@ -642,11 +642,11 @@
if the is read-only; otherwise, .
- implements the interface. A collection that is read-only does not allow the addition, removal, or modification of elements after the collection is created.
-
+ implements the interface. A collection that is read-only does not allow the addition, removal, or modification of elements after the collection is created.
+
]]>
@@ -677,11 +677,11 @@
Gets or sets the tool at the specified index.The tool at the specified index.
- implements the interface. This property provides the ability to access a specific element in the collection by using the following syntax: `myCollection[index]`.
-
+ implements the interface. This property provides the ability to access a specific element in the collection by using the following syntax: `myCollection[index]`.
+
]]>
@@ -711,13 +711,13 @@
The tool to remove from the .
Removes the first occurrence of a specific tool from the .
- implements the interface.
-
- In collections of contiguous elements, such as lists, the elements that follow the removed element move up to occupy the vacated spot. If the collection is indexed, the indexes of the elements that are moved are also updated.
-
+ implements the interface.
+
+ In collections of contiguous elements, such as lists, the elements that follow the removed element move up to occupy the vacated spot. If the collection is indexed, the indexes of the elements that are moved are also updated.
+
]]>
@@ -747,13 +747,13 @@
The zero-based index of the tool item to remove.
Removes the tool at the specified index of the collection.
- implements the interface.
-
- In collections of contiguous elements, such as lists, the elements that follow the removed element move up to occupy the vacated spot. If the collection is indexed, the indexes of the elements that are moved are also updated.
-
+ implements the interface.
+
+ In collections of contiguous elements, such as lists, the elements that follow the removed element move up to occupy the vacated spot. If the collection is indexed, the indexes of the elements that are moved are also updated.
+
]]>The is not valid for the collection.
diff --git a/xml/System.Activities.Presentation.Toolbox/ToolboxCategoryItems.xml b/xml/System.Activities.Presentation.Toolbox/ToolboxCategoryItems.xml
index 24abca56957..a31125f7fc3 100644
--- a/xml/System.Activities.Presentation.Toolbox/ToolboxCategoryItems.xml
+++ b/xml/System.Activities.Presentation.Toolbox/ToolboxCategoryItems.xml
@@ -444,7 +444,7 @@
implements the interface. The property returns an object, which can be used to synchronize access to the .
+ implements the interface. The property returns an object, which can be used to synchronize access to the .
]]>
diff --git a/xml/System.Activities.Presentation.Toolbox/ToolboxControl.xml b/xml/System.Activities.Presentation.Toolbox/ToolboxControl.xml
index 337d7125f65..f6c8095b6cf 100644
--- a/xml/System.Activities.Presentation.Toolbox/ToolboxControl.xml
+++ b/xml/System.Activities.Presentation.Toolbox/ToolboxControl.xml
@@ -30,14 +30,14 @@
Provides functions to render a collection of categorized tools, as well as notify users about tool selection and creation events. This class is , so it cannot be inherited.
- . The contains a collection of toolbox categories that hold various categories of tools that can be accessed with the property. It also is able to retrieve the with which it is associated using the property.
-
+ . The contains a collection of toolbox categories that hold various categories of tools that can be accessed with the property. It also is able to retrieve the with which it is associated using the property.
+
> [!WARNING]
-> For activities to load properly in the toolbox, the assembly that contains the activities must be loaded first. Use to load the activity type if it is contained in a different assembly; using instead will cause an exception to be thrown.
-
+> For activities to load properly in the toolbox, the assembly that contains the activities must be loaded first. Use to load the activity type if it is contained in a different assembly; using instead will cause an exception to be thrown.
+
]]>
@@ -119,11 +119,11 @@
Gets or sets the collection of toolbox categories associated with this control.The that contains the collection of objects associated with this .
- will be cleared.
-
+ will be cleared.
+
]]>
@@ -229,11 +229,11 @@
Builds the visual tree for this toolbox control.
- method is invoked by the method. implements , which, in turn, implements .
-
+ method is invoked by the method. implements , which, in turn, implements .
+
]]>
diff --git a/xml/System.Activities.Presentation.Toolbox/ToolboxItemWrapper.xml b/xml/System.Activities.Presentation.Toolbox/ToolboxItemWrapper.xml
index f56e452c911..95ba4035fe8 100644
--- a/xml/System.Activities.Presentation.Toolbox/ToolboxItemWrapper.xml
+++ b/xml/System.Activities.Presentation.Toolbox/ToolboxItemWrapper.xml
@@ -20,11 +20,11 @@
Represents a wrapper used to establish link between an actual instance and the tool representation, as well as add support for categorization of toolbox items. This class is , so it cannot be inherited.
-
@@ -53,11 +53,11 @@
Initializes a new instance of the class.
- , , , and properties with an empty `string`.
-
+ , , , and properties with an empty `string`.
+
]]>
@@ -81,11 +81,11 @@
The type of the tool.
Initializes a new instance of the class with the type of the tool.
- and properties can be extracted from the `toolType` parameter. The and properties are each initialized with an empty `string`.
-
+ and properties can be extracted from the `toolType` parameter. The and properties are each initialized with an empty `string`.
+
]]>
@@ -111,11 +111,11 @@
The name of the display.
Initializes a new instance of the class with the type of the tool and a specified display name.
- and properties can be extracted from the `toolType` parameter. The property is initialized with an empty `string`.
-
+ and properties can be extracted from the `toolType` parameter. The property is initialized with an empty `string`.
+
]]>
@@ -143,11 +143,11 @@
A that contains the name of the display.
Initializes a new instance of the class with the type of the tool and specified names for the bitmap and display.
- and properties can be extracted from the `toolType` parameter.
-
+ and properties can be extracted from the `toolType` parameter.
+
]]>
@@ -204,11 +204,11 @@
Gets or sets the assembly name for the toolbox item.The assembly name.
- The assembly name has already been specified and cannot be changed after the corresponding has been initialized.
@@ -260,11 +260,11 @@
Gets or sets the bitmap name.The bitmap name.
-
@@ -288,11 +288,11 @@
Gets or sets the display name.The display name.
-
@@ -317,11 +317,11 @@
if the is valid; otherwise, .
- is valid if it is not `null`.
-
+ is valid if it is not `null`.
+
]]>
@@ -348,11 +348,11 @@
An event that occurs when a property is changed.
- property is defined by the interface that is implemented by the class.
-
+ property is defined by the interface that is implemented by the class.
+
]]>
@@ -382,11 +382,11 @@
Gets or sets the name of the tool.The tool name.
- The name of the tool cannot be changed after the corresponding has been initialized.
diff --git a/xml/System.Activities.Presentation/ActivityDesigner.xml b/xml/System.Activities.Presentation/ActivityDesigner.xml
index 87df0ff6556..b55cd542db7 100644
--- a/xml/System.Activities.Presentation/ActivityDesigner.xml
+++ b/xml/System.Activities.Presentation/ActivityDesigner.xml
@@ -21,7 +21,7 @@
## Remarks
This type provides the basic look-and-feel functionality for other activity designers and allows a developer to add additional capabilities to an activity designer surface. This is typically done in order to either display additional interesting information to the user of the activity, create a better on canvas editing experience (for example, using the `ExpressionTextBox` on an `If` activity designer), or to allow contained elements to be edited (again, consider the and properties of the activity).
- The inherits from and primarily adds the default styling, as well as the ability to customize the icon via the property. It should be used whenever you are creating a designer for a type that derives from . When associated with an type, the property will point to the ModelItem hierarchy describing the instance of that type being edited.
+ The inherits from and primarily adds the default styling, as well as the ability to customize the icon via the property. It should be used whenever you are creating a designer for a type that derives from . When associated with an type, the property will point to the ModelItem hierarchy describing the instance of that type being edited.
## Examples
In the sample code below, a `First2of3` activity is defined first, then the code for the First2of3 designer is shown, and finally it is shown how to use the Designer attribute to associate the activity with the designer is provided.
diff --git a/xml/System.Activities.Presentation/ActivityDesignerOptionsAttribute.xml b/xml/System.Activities.Presentation/ActivityDesignerOptionsAttribute.xml
index 411662d0054..7970c3cf724 100644
--- a/xml/System.Activities.Presentation/ActivityDesignerOptionsAttribute.xml
+++ b/xml/System.Activities.Presentation/ActivityDesignerOptionsAttribute.xml
@@ -22,11 +22,11 @@
Specifies drill-down and node viewing mode for an , such as Flowcharts, that are used to compose activities.
- property to `false`. Child nodes are not always collapsed by default, but can be set to always collapse by setting the property to `true`.
-
+ property to `false`. Child nodes are not always collapsed by default, but can be set to always collapse by setting the property to `true`.
+
]]>
@@ -46,11 +46,11 @@
Creates an instance of the class.
- property and `false` for the property.
-
+ property and `false` for the property.
+
]]>
diff --git a/xml/System.Activities.Presentation/ClipboardData.xml b/xml/System.Activities.Presentation/ClipboardData.xml
index ef5ad4c649d..88d1aae9e28 100644
--- a/xml/System.Activities.Presentation/ClipboardData.xml
+++ b/xml/System.Activities.Presentation/ClipboardData.xml
@@ -27,11 +27,11 @@
## Remarks
The contains three types of data:
-- The data itself, accessed through the property.
+- The data itself, accessed through the property.
-- The metadata, accessed through the property.
+- The metadata, accessed through the property.
-- The version information, accessed through the property.
+- The version information, accessed through the property.
]]>
diff --git a/xml/System.Activities.Presentation/ContextItem.xml b/xml/System.Activities.Presentation/ContextItem.xml
index 69a84b159fe..e77a10c1d2d 100644
--- a/xml/System.Activities.Presentation/ContextItem.xml
+++ b/xml/System.Activities.Presentation/ContextItem.xml
@@ -19,7 +19,7 @@
, which is part of the employed by a when representing the workflow model visually. The is returned by the property which contains the data that is shared between a host and the designer. This data provides the mechanism needed to hook into subscription and change notification.
+ A context item represents a piece of transient state in a designer. Context items are managed by a , which is part of the employed by a when representing the workflow model visually. The is returned by the property which contains the data that is shared between a host and the designer. This data provides the mechanism needed to hook into subscription and change notification.
]]>
diff --git a/xml/System.Activities.Presentation/ServiceManager.xml b/xml/System.Activities.Presentation/ServiceManager.xml
index 74954f45e43..05908bafc2a 100644
--- a/xml/System.Activities.Presentation/ServiceManager.xml
+++ b/xml/System.Activities.Presentation/ServiceManager.xml
@@ -29,7 +29,7 @@
represent functionality that is either provided by the host for the designer to use or that is used by the designer to make functionality available to all designers within the editor. It is obtained from the by the property.
+ represent functionality that is either provided by the host for the designer to use or that is used by the designer to make functionality available to all designers within the editor. It is obtained from the by the property.
]]>
diff --git a/xml/System.Activities.Presentation/WorkflowItemPresenter.xml b/xml/System.Activities.Presentation/WorkflowItemPresenter.xml
index fbe372bffc0..2ea6a491931 100644
--- a/xml/System.Activities.Presentation/WorkflowItemPresenter.xml
+++ b/xml/System.Activities.Presentation/WorkflowItemPresenter.xml
@@ -20,34 +20,34 @@
Provides a visual editor to edit objects, and provides an area for the user to drag and drop, and otherwise edit composed elements.
- property. The is one of two controls (the other being ) that can be used to create a container for visualizing and editing a composed element. It is important to note that the visualization of the composed element is not controlled by the but it renders with the visualization associated in the metadata store for a given type. The is a specialized subclass of the WPF that has been modified to support drag and drop, copy and paste, and other visual editing actions.
-
-
-
-## Examples
- The primary use of this control will be in an activity designer, as seen in the sample code below. The XAML below shows the declarative usage of the control to build a simple designer for the If activity. The If activity has two properties of type Activity, Then and Else, and the Item for each WorkflowItemPresenter is linked to that respective property.
-
- For an example of the in use, see the [Custom Composite Designers - Workflow Item Presenter](/dotnet/framework/windows-workflow-foundation/samples/custom-composite-designers-workflow-item-presenter) sample.
-
-```xaml
-
-
-
-
-
-
-
-
-
-```
-
+ property. The is one of two controls (the other being ) that can be used to create a container for visualizing and editing a composed element. It is important to note that the visualization of the composed element is not controlled by the but it renders with the visualization associated in the metadata store for a given type. The is a specialized subclass of the WPF that has been modified to support drag and drop, copy and paste, and other visual editing actions.
+
+
+
+## Examples
+ The primary use of this control will be in an activity designer, as seen in the sample code below. The XAML below shows the declarative usage of the control to build a simple designer for the If activity. The If activity has two properties of type Activity, Then and Else, and the Item for each WorkflowItemPresenter is linked to that respective property.
+
+ For an example of the in use, see the [Custom Composite Designers - Workflow Item Presenter](/dotnet/framework/windows-workflow-foundation/samples/custom-composite-designers-workflow-item-presenter) sample.
+
+```xaml
+
+
+
+
+
+
+
+
+
+```
+
]]>
@@ -88,11 +88,11 @@
Gets or sets the .A that contains the allowed item.
- disallows dropping objects that do not conform to the `Type`.
-
+ disallows dropping objects that do not conform to the `Type`.
+
]]>
diff --git a/xml/System.Activities.Presentation/WorkflowItemsPresenter.xml b/xml/System.Activities.Presentation/WorkflowItemsPresenter.xml
index ac3bf599369..2f3411fec79 100644
--- a/xml/System.Activities.Presentation/WorkflowItemsPresenter.xml
+++ b/xml/System.Activities.Presentation/WorkflowItemsPresenter.xml
@@ -28,46 +28,46 @@
Represents a control that can be used to present a collection of objects on a design surface.
- is the second key Windows Presentation Foundation (WPF) control provided by the Windows Workflow Foundation designer infrastructure that is collection-based. While the enables the display and the editing of a single contained element, the is collection-based, displays a visualization, and supports editing of the collection of items provided by the property. In addition to allowing the multiple items contained in the collection to be visualized and edited, the `WorkflowItemsPresenter` also enables collection-oriented actions, such as inserting an item at a given index in the collection, deleting an item from the collection, and moving an item from one index to another. `WorkflowItemsPresenter` also handles combined actions, such as dragging between the various presenters and allowing that edit to occur in a single, undoable action.Use to present a single object on a design surface.
-
- For an example of the in use, see the [Custom Composite Designers - Workflow Items Presenter](/dotnet/framework/windows-workflow-foundation/samples/custom-composite-designers-workflow-items-presenter) sample.
-
-
-
-## Examples
- The following sample code shows how you can build a designer for the Parallel activity. Note the binding to ModelItem.Branches for the Items.
-
-```xaml
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-```
-
+ is the second key Windows Presentation Foundation (WPF) control provided by the Windows Workflow Foundation designer infrastructure that is collection-based. While the enables the display and the editing of a single contained element, the is collection-based, displays a visualization, and supports editing of the collection of items provided by the property. In addition to allowing the multiple items contained in the collection to be visualized and edited, the `WorkflowItemsPresenter` also enables collection-oriented actions, such as inserting an item at a given index in the collection, deleting an item from the collection, and moving an item from one index to another. `WorkflowItemsPresenter` also handles combined actions, such as dragging between the various presenters and allowing that edit to occur in a single, undoable action.Use to present a single object on a design surface.
+
+ For an example of the in use, see the [Custom Composite Designers - Workflow Items Presenter](/dotnet/framework/windows-workflow-foundation/samples/custom-composite-designers-workflow-items-presenter) sample.
+
+
+
+## Examples
+ The following sample code shows how you can build a designer for the Parallel activity. Note the binding to ModelItem.Branches for the Items.
+
+```xaml
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+```
+
]]>
@@ -445,26 +445,26 @@
Identifies the dependency property.
- is based on a vertically oriented `StackPanel`. As an illustration, the `ItemsPanel` for the designer of activities is based on a horizontally oriented `StackPanel`.
-
-
-
-## Examples
- The following example in XAML shows the `ItemsPanel` for the designer of activities that is based on a horizontally oriented `StackPanel`.
-
-```xaml
-
-
-
-
-
-
-
-```
-
+ is based on a vertically oriented `StackPanel`. As an illustration, the `ItemsPanel` for the designer of activities is based on a horizontally oriented `StackPanel`.
+
+
+
+## Examples
+ The following example in XAML shows the `ItemsPanel` for the designer of activities that is based on a horizontally oriented `StackPanel`.
+
+```xaml
+
+
+
+
+
+
+
+```
+
]]>
@@ -632,11 +632,11 @@
The that was moved.
Informs the that a was moved.
- , it is removed.
-
+ , it is removed.
+
]]>
diff --git a/xml/System.Activities.Presentation/WorkflowViewElement.xml b/xml/System.Activities.Presentation/WorkflowViewElement.xml
index ecb5943d334..0aa67a5ae58 100644
--- a/xml/System.Activities.Presentation/WorkflowViewElement.xml
+++ b/xml/System.Activities.Presentation/WorkflowViewElement.xml
@@ -20,20 +20,20 @@
Specifies the base class for any UI element that appears on the Windows Workflow Foundation designer canvas and that visually represents an instance of an atomic item that can be edited.
- include and . `WorkflowViewElement` provides a common contract that the designer uses to render the visual element onto the designer surface and to interact with it through the various editing actions.
-
- If you are building a designer for an , you should use the base type. If there are non-activity elements that need to be treated as first class items on the designer canvas, such as a toolbox item that needs to be draggable throughout the canvas, or for cut-and-paste scenarios, use `WorkflowViewElement` as the base class. If you do not want to use the standard activity chrome for an activity designer, `WorkflowViewElement` should be used as the base type to provide the most flexibility.
-
- A represents a in the UI and provides code access to the model item and an that allows changes to be made.
-
-
-
-## Examples
- For a code sample showing how to create a new and an , and then how to associate them, see the sample in the documentation.
-
+ include and . `WorkflowViewElement` provides a common contract that the designer uses to render the visual element onto the designer surface and to interact with it through the various editing actions.
+
+ If you are building a designer for an , you should use the base type. If there are non-activity elements that need to be treated as first class items on the designer canvas, such as a toolbox item that needs to be draggable throughout the canvas, or for cut-and-paste scenarios, use `WorkflowViewElement` as the base class. If you do not want to use the standard activity chrome for an activity designer, `WorkflowViewElement` should be used as the base type to provide the most flexibility.
+
+ A represents a in the UI and provides code access to the model item and an that allows changes to be made.
+
+
+
+## Examples
+ For a code sample showing how to create a new and an , and then how to associate them, see the sample in the documentation.
+
]]>
@@ -53,11 +53,11 @@
Initializes a new instance of the class.
- property is set to `false` by default.
-
+ property is set to `false` by default.
+
]]>
@@ -140,11 +140,11 @@
Gets or sets the editing context that is shared by all elements contained in a workflow designer.The object for the workflow designer that contains the workflow view element.
- object is a collection of services shared between all elements contained in the designer and used to interact between the host and the designer. Services are published and requested through the .
-
+ object is a collection of services shared between all elements contained in the designer and used to interact between the host and the designer. Services are published and requested through the .
+
]]>
@@ -300,11 +300,11 @@
When implemented in a derived class, retrieves the automation help text.The default implementation is to return an empty .
-
@@ -329,11 +329,11 @@
When implemented in a derived class, gets the name of a property of the model item associated with the element that is used as automation ID.The name to use as automation ID. The base class always returns .
-
@@ -423,11 +423,11 @@
Gets or sets the underlying object associated with the workflow view element.A object that is a wrapper around a model instance or an in-memory representation of the underlying workflow.
- object provides notification of changes even if the model instance does not provide change notification.
-
+ object provides notification of changes even if the model instance does not provide change notification.
+
]]>
@@ -613,11 +613,11 @@
The that contains the event data.
Raises the event.
-
@@ -644,11 +644,11 @@
An that represents the changed state of the model item.
Invoked when the underlying model item is changed. Implement this method in a derived class to handle this event.
-
@@ -820,11 +820,11 @@
to indicate that the element is read-only; otherwise, .
Invoked when the read-only property is changed.
-
@@ -852,11 +852,11 @@
to indicate that the value of the show expanded property is changed; otherwise, .
Invoked when the show expanded property is changed.
-
@@ -1072,11 +1072,11 @@
Gets the associated with the workflow view element.The view service associated with the workflow view element.
- property.
-
+ property.
+
]]>
diff --git a/xml/System.Activities.Statements/FlowDecision.xml b/xml/System.Activities.Statements/FlowDecision.xml
index 1f5a82cdb7c..fe3dc1ad073 100644
--- a/xml/System.Activities.Statements/FlowDecision.xml
+++ b/xml/System.Activities.Statements/FlowDecision.xml
@@ -16,18 +16,18 @@
A specialized that provides the ability to model a conditional node with two outcomes.
- uses a condition and defines actions to take if the condition is `true` or `false`.
-
-
-
-## Examples
- The following code sample demonstrates creating a node. This example is from the [Fault Handling in a Flowchart Activity Using TryCatch](/dotnet/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch) sample.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_flowchartwithfaulthandling/cs/program.cs" id="Snippet3":::
-
+ uses a condition and defines actions to take if the condition is `true` or `false`.
+
+
+
+## Examples
+ The following code sample demonstrates creating a node. This example is from the [Fault Handling in a Flowchart Activity Using TryCatch](/dotnet/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch) sample.
+
+ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_flowchartwithfaulthandling/cs/program.cs" id="Snippet3":::
+
]]>
@@ -40,13 +40,13 @@
Creates a new instance of the class.
- node. This example is from the [Fault Handling in a Flowchart Activity Using TryCatch](/dotnet/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch) sample.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_flowchartwithfaulthandling/cs/program.cs" id="Snippet3":::
-
+ node. This example is from the [Fault Handling in a Flowchart Activity Using TryCatch](/dotnet/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch) sample.
+
+ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_flowchartwithfaulthandling/cs/program.cs" id="Snippet3":::
+
]]>
@@ -72,13 +72,13 @@
Creates a new instance of the class.
- node. This example is from the [Fault Handling in a Flowchart Activity Using TryCatch](/dotnet/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch) sample.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_flowchartwithfaulthandling/cs/program.cs" id="Snippet3":::
-
+ node. This example is from the [Fault Handling in a Flowchart Activity Using TryCatch](/dotnet/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch) sample.
+
+ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_flowchartwithfaulthandling/cs/program.cs" id="Snippet3":::
+
]]>
@@ -102,13 +102,13 @@
The condition the is testing.
Creates a new instance of the class with the specified condition.
- node. This example is from the [Fault Handling in a Flowchart Activity Using TryCatch](/dotnet/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch) sample.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_flowchartwithfaulthandling/cs/program.cs" id="Snippet3":::
-
+ node. This example is from the [Fault Handling in a Flowchart Activity Using TryCatch](/dotnet/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch) sample.
+
+ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_flowchartwithfaulthandling/cs/program.cs" id="Snippet3":::
+
]]>
@@ -132,13 +132,13 @@
The condition the is testing.
Creates a new instance of the class with the specified condition.
- node. This example is from the [Fault Handling in a Flowchart Activity Using TryCatch](/dotnet/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch) sample.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_flowchartwithfaulthandling/cs/program.cs" id="Snippet3":::
-
+ node. This example is from the [Fault Handling in a Flowchart Activity Using TryCatch](/dotnet/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch) sample.
+
+ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_flowchartwithfaulthandling/cs/program.cs" id="Snippet3":::
+
]]>
@@ -176,18 +176,18 @@
Specifies the condition the is testing.A value expression that represents the condition.
- in the property is executed. Otherwise the in the property is executed.
-
-
-
-## Examples
- The following code sample demonstrates using the Condition property of a node. This example is from the [Fault Handling in a Flowchart Activity Using TryCatch](/dotnet/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch) sample.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_flowchartwithfaulthandling/cs/program.cs" id="Snippet3":::
-
+ in the property is executed. Otherwise the in the property is executed.
+
+
+
+## Examples
+ The following code sample demonstrates using the Condition property of a node. This example is from the [Fault Handling in a Flowchart Activity Using TryCatch](/dotnet/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch) sample.
+
+ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_flowchartwithfaulthandling/cs/program.cs" id="Snippet3":::
+
]]>
@@ -256,13 +256,13 @@
Gets or sets the that is executed when the condition evaluates to .The activity that is executed when the condition evaluates to .
- node. This example is from the [Fault Handling in a Flowchart Activity Using TryCatch](/dotnet/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch) sample.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_flowchartwithfaulthandling/cs/program.cs" id="Snippet3":::
-
+ node. This example is from the [Fault Handling in a Flowchart Activity Using TryCatch](/dotnet/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch) sample.
+
+ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_flowchartwithfaulthandling/cs/program.cs" id="Snippet3":::
+
]]>
@@ -304,13 +304,13 @@
Gets or sets the that is executed when the condition evaluates to .The activity to execute when the condition evaluates to .
- node. This example is from the [Fault Handling in a Flowchart Activity Using TryCatch](/dotnet/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch) sample.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_flowchartwithfaulthandling/cs/program.cs" id="Snippet3":::
-
+ node. This example is from the [Fault Handling in a Flowchart Activity Using TryCatch](/dotnet/framework/windows-workflow-foundation/samples/fault-handling-in-a-flowchart-activity-using-trycatch) sample.
+
+ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_flowchartwithfaulthandling/cs/program.cs" id="Snippet3":::
+
]]>
diff --git a/xml/System.Activities.Statements/Parallel.xml b/xml/System.Activities.Statements/Parallel.xml
index 07fdc35cfac..4e517cf163d 100644
--- a/xml/System.Activities.Statements/Parallel.xml
+++ b/xml/System.Activities.Statements/Parallel.xml
@@ -22,19 +22,19 @@
An activity that executes all child activities simultaneously and asynchronously.
- activity operates by simultaneously scheduling each in its collection at the start. It completes when all of its complete or when its property evaluates to `true`. While all the objects run asynchronously, they do not execute on separate threads, so each successive activity only executes when the previously scheduled activity completes or goes idle. If none of the child activities of this activity go idle, this activity execute in the same way that a activity does.
-
-
-
+ activity operates by simultaneously scheduling each in its collection at the start. It completes when all of its complete or when its property evaluates to `true`. While all the objects run asynchronously, they do not execute on separate threads, so each successive activity only executes when the previously scheduled activity completes or goes idle. If none of the child activities of this activity go idle, this activity execute in the same way that a activity does.
+
+
+
## Examples
The following code sample demonstrates creating a activity.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_compensationcancellation/cs/program.cs" id="Snippet1":::
-
+
+ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_compensationcancellation/cs/program.cs" id="Snippet1":::
+
]]>
@@ -60,14 +60,14 @@ The following code sample demonstrates creating a Creates a new instance of the activity.
- activity.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_compensationcancellation/cs/program.cs" id="Snippet1":::
-
+
+ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_compensationcancellation/cs/program.cs" id="Snippet1":::
+
]]>
@@ -97,14 +97,14 @@ The following code sample demonstrates creating a The child elements to be executed in parallel.
The elements.
- activity.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_compensationcancellation/cs/program.cs" id="Snippet1":::
-
+
+ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_compensationcancellation/cs/program.cs" id="Snippet1":::
+
]]>
@@ -194,17 +194,17 @@ The following code sample demonstrates setting the Branches property of a Evaluates after any branch completes.
The completion expression.
- collection are canceled. If this property is not set, all objects in the collection execute until completion.
## Examples
The following code sample demonstrates setting the CompletionCondition property of a activity.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_compensationcancellation/cs/program.cs" id="Snippet1":::
-
+
+ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_compensationcancellation/cs/program.cs" id="Snippet1":::
+
]]>
diff --git a/xml/System.Activities.Statements/Switch`1.xml b/xml/System.Activities.Statements/Switch`1.xml
index 26e838ce9d4..ceadfbab4fa 100644
--- a/xml/System.Activities.Statements/Switch`1.xml
+++ b/xml/System.Activities.Statements/Switch`1.xml
@@ -26,17 +26,17 @@
The type of the values provided in the collection.Selects one choice from a number of activities to execute, based on the value of a given expression of the type specified in this object's type specifier.
- dictionary consists of a value (serving as the key for the dictionary) and an activity (serving as the value for the dictionary). The is evaluated and compared against the keys in the dictionary. If a match is found, the corresponding activity is executed. Every key in the dictionary must be unique according to the dictionary's equality comparer.
## Examples
The following code sample demonstrates creating a activity.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_procedurals/cs/program.cs" id="Snippet1":::
-
+
+ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_procedurals/cs/program.cs" id="Snippet1":::
+
]]>
@@ -49,14 +49,14 @@ The following code sample demonstrates creating a Creates a new instance of the class.
- activity.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_procedurals/cs/program.cs" id="Snippet1":::
-
+
+ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_procedurals/cs/program.cs" id="Snippet1":::
+
]]>
@@ -82,14 +82,14 @@ The following code sample demonstrates creating a Creates a new instance of the class.
- activity.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_procedurals/cs/program.cs" id="Snippet1":::
-
+
+ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_procedurals/cs/program.cs" id="Snippet1":::
+
]]>
@@ -200,17 +200,17 @@ The following code sample demonstrates creating a Represents the dictionary of potential execution paths. Each entry contains a key and an activity that is executed when the result of the expression matches the key.
The execution paths.
- property.
+ property.
## Examples
The following code sample demonstrates setting the Cases property of a activity.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_procedurals/cs/program.cs" id="Snippet1":::
-
+
+ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_procedurals/cs/program.cs" id="Snippet1":::
+
]]>
@@ -311,17 +311,17 @@ The following code sample demonstrates setting the Cases property of a Gets the object to compare to the keys in the collection.
The object to compare to the keys in the collection.
- activity.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_procedurals/cs/program.cs" id="Snippet1":::
-
+
+ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wfs_procedurals/cs/program.cs" id="Snippet1":::
+
]]>
diff --git a/xml/System.Activities.Statements/TerminateWorkflow.xml b/xml/System.Activities.Statements/TerminateWorkflow.xml
index b1370a8f429..f308e9081d5 100644
--- a/xml/System.Activities.Statements/TerminateWorkflow.xml
+++ b/xml/System.Activities.Statements/TerminateWorkflow.xml
@@ -98,11 +98,11 @@
Gets or sets the exception that provoked the instance termination.The exception.
- is a if only is set. If only is set, that exception is passed to . If both and are set, a is passed with the specified , and is set as the exception's property. If neither is set, a default is created.
-
+ is a if only is set. If only is set, that exception is passed to . If both and are set, a is passed with the specified , and is set as the exception's property. If neither is set, a default is created.
+
]]>
@@ -164,11 +164,11 @@
A string input argument with the reason for the workflow instance termination.The reason for workflow termination.
- is a if only is set. If only is set, that exception is passed to . If both and are set, a is passed with the specified , and is set as the exception's property. If neither is set, a default is created.
-
+ is a if only is set. If only is set, that exception is passed to . If both and are set, a is passed with the specified , and is set as the exception's property. If neither is set, a default is created.
+
]]>
diff --git a/xml/System.Activities/WorkflowInvoker.xml b/xml/System.Activities/WorkflowInvoker.xml
index fe42f81ac6a..c2f2ab7afa9 100644
--- a/xml/System.Activities/WorkflowInvoker.xml
+++ b/xml/System.Activities/WorkflowInvoker.xml
@@ -309,7 +309,7 @@
## Remarks
Only a workflow invoked by one of the overloads that takes a `userState` parameter can be canceled.
- If the cancellation succeeds, the property of the passed to the handler is set to `true`; otherwise, it is set to `false`.
+ If the cancellation succeeds, the property of the passed to the handler is set to `true`; otherwise, it is set to `false`.
diff --git a/xml/System.AddIn.Contract.Automation/IRemoteMethodInfoContract.xml b/xml/System.AddIn.Contract.Automation/IRemoteMethodInfoContract.xml
index a569f665348..a09a9608e05 100644
--- a/xml/System.AddIn.Contract.Automation/IRemoteMethodInfoContract.xml
+++ b/xml/System.AddIn.Contract.Automation/IRemoteMethodInfoContract.xml
@@ -18,13 +18,13 @@
Defines a contract that components can use to access information about a method across application domain and process boundaries.
- represents a method of a remote object that implements the interface.
-
- To access one or more methods of a remote object, use the method to get an that represents the type of the remote object. Then, call the or method.
-
+ represents a method of a remote object that implements the interface.
+
+ To access one or more methods of a remote object, use the method to get an that represents the type of the remote object. Then, call the or method.
+
]]>
@@ -50,11 +50,11 @@
Returns information about the method that this identifies.A that provides information about the method that this identifies.
- structure includes the types of the method's return value and parameters.
-
+ structure includes the types of the method's return value and parameters.
+
]]>
@@ -89,11 +89,11 @@
Invokes the method that this identifies.A that specifies the return value of the invoked method.
- returns a default in which the property is set to the value and the property is set to the value .
-
+ returns a default in which the property is set to the value and the property is set to the value .
+
]]>
diff --git a/xml/System.AddIn.Contract.Automation/RemoteTypeData.xml b/xml/System.AddIn.Contract.Automation/RemoteTypeData.xml
index 0794fd6bf88..936e0c86bc3 100644
--- a/xml/System.AddIn.Contract.Automation/RemoteTypeData.xml
+++ b/xml/System.AddIn.Contract.Automation/RemoteTypeData.xml
@@ -23,11 +23,11 @@
Provides information about a type that components can access across application domain and process boundaries.
- structure provides information about an object that implements the interface. To get type information about a remote object, components call the method to obtain an . Then, components call the method to get a .
-
+ structure provides information about an object that implements the interface. To get type information about a remote object, components call the method to obtain an . Then, components call the method to get a .
+
]]>
@@ -51,11 +51,11 @@
Indicates the rank (that is, the number of dimensions) of the remote array type that this describes.
- describes an array, use the field.
-
+ describes an array, use the field.
+
]]>
@@ -100,11 +100,11 @@
Represents the name of the remote type that this describes, qualified by the name of the assembly that contains the type.
- property.
-
+ property.
+
]]>
@@ -128,11 +128,11 @@
Represents the attributes of the remote type that this describes.
- if this describes the type of a COM object.
-
+ if this describes the type of a COM object.
+
]]>
@@ -177,11 +177,11 @@
Represents the type of the elements in the remote array type that this describes.
- describes an array, use the field.
-
+ describes an array, use the field.
+
]]>
@@ -205,11 +205,11 @@
Represents the name of the remote type that this describes, qualified by the namespace.
-
@@ -233,11 +233,11 @@
Indicates whether this describes an array type.
- describes an array type; otherwise, the value of this field is `false`.
-
+ describes an array type; otherwise, the value of this field is `false`.
+
]]>
@@ -261,11 +261,11 @@
Indicates whether this describes a type that is passed by reference.
- describes a type that is passed by reference; otherwise, the value of this field is `false`.
-
+ describes a type that is passed by reference; otherwise, the value of this field is `false`.
+
]]>
@@ -310,11 +310,11 @@
Represents the type of the remote type that this describes.
- , the value of this field is .
-
+ , the value of this field is .
+
]]>
diff --git a/xml/System.AddIn.Contract/IServiceProviderContract.xml b/xml/System.AddIn.Contract/IServiceProviderContract.xml
index 56b818557e7..d65978d5862 100644
--- a/xml/System.AddIn.Contract/IServiceProviderContract.xml
+++ b/xml/System.AddIn.Contract/IServiceProviderContract.xml
@@ -18,11 +18,11 @@
Defines a mechanism for retrieving a service contract from a component.
- interface defines a contract that enables a component to obtain a custom service that is defined by another component. A component that implements is known as a service provider. Service providers implement the method to return an that implements a service.
-
+ interface defines a contract that enables a component to obtain a custom service that is defined by another component. A component that implements is known as a service provider. Service providers implement the method to return an that implements a service.
+
]]>
@@ -53,11 +53,11 @@
Returns a service contract that is implemented by this .An that represents a service contract that a client is requesting from the ; if the does not implement the requested contract.
- implementation. It is recommended that implementations identify a service contract by the property of the type that implements the service contract.
-
+ implementation. It is recommended that implementations identify a service contract by the property of the type that implements the service contract.
+
]]>
diff --git a/xml/System.AddIn.Contract/RemoteArgument.xml b/xml/System.AddIn.Contract/RemoteArgument.xml
index 502cd0a7c7b..f143cedfac3 100644
--- a/xml/System.AddIn.Contract/RemoteArgument.xml
+++ b/xml/System.AddIn.Contract/RemoteArgument.xml
@@ -38,11 +38,11 @@
- Arrays that contain elements of intrinsic data types.
- An intrinsic data type is a primitive data type (that is, the property of the type is `true`) or a , , , or .
+ An intrinsic data type is a primitive data type (that is, the property of the type is `true`) or a , , , or .
provides constructors for each of the types that it supports. You can also use the methods to create objects. The methods automatically call the appropriate constructor for your argument type.
- If you create a using the default parameterless constructor, the property is set to the value and the property is set to the value .
+ If you create a using the default parameterless constructor, the property is set to the value and the property is set to the value .
]]>
@@ -80,7 +80,7 @@
property to , the property to , and the property to `false`.
+ This constructor sets the property to , the property to , and the property to `false`.
]]>
@@ -109,7 +109,7 @@
property to , the property to the type code of the array element type, and the property to `false`.
+ This constructor sets the property to , the property to the type code of the array element type, and the property to `false`.
]]>
@@ -141,7 +141,7 @@
property to , the property to , and the property to `false`.
+ This constructor sets the property to , the property to , and the property to `false`.
]]>
@@ -170,7 +170,7 @@
property to , the property to , and the property to `false`.
+ This constructor sets the property to , the property to , and the property to `false`.
]]>
@@ -199,7 +199,7 @@
property to , the property to , and the property to `false`.
+ This constructor sets the property to , the property to , and the property to `false`.
]]>
@@ -228,7 +228,7 @@
property to , the property to , and the property to `false`.
+ This constructor sets the property to , the property to , and the property to `false`.
]]>
@@ -257,7 +257,7 @@
property to , the property to , and the property to `false`.
+ This constructor sets the property to , the property to , and the property to `false`.
]]>
@@ -286,7 +286,7 @@
property to , the property to , and the property to `false`.
+ This constructor sets the property to , the property to , and the property to `false`.
]]>
@@ -315,7 +315,7 @@
property to , the property to , and the property to `false`.
+ This constructor sets the property to , the property to , and the property to `false`.
]]>
@@ -344,7 +344,7 @@
property to , the property to , and the property to `false`.
+ This constructor sets the property to , the property to , and the property to `false`.
]]>
@@ -373,7 +373,7 @@
property to , the property to , and the property to `false`.
+ This constructor sets the property to , the property to , and the property to `false`.
]]>
@@ -402,7 +402,7 @@
property to , the property to , and the property to `false`.
+ This constructor sets the property to , the property to , and the property to `false`.
]]>
@@ -437,7 +437,7 @@
property to , the property to , and the property to `false`.
+ This constructor sets the property to , the property to , and the property to `false`.
]]>
@@ -466,7 +466,7 @@
property to , the property to , and the property to `false`.
+ This constructor sets the property to , the property to , and the property to `false`.
]]>
@@ -495,7 +495,7 @@
property to , the property to , and the property to `false`.
+ This constructor sets the property to , the property to , and the property to `false`.
]]>
@@ -530,7 +530,7 @@
property to , the property to , and the property to `false`.
+ This constructor sets the property to , the property to , and the property to `false`.
]]>
@@ -565,7 +565,7 @@
property to , the property to , and the property to `false`.
+ This constructor sets the property to , the property to , and the property to `false`.
]]>
@@ -600,7 +600,7 @@
property to , the property to , and the property to `false`.
+ This constructor sets the property to , the property to , and the property to `false`.
]]>
@@ -632,7 +632,7 @@
property to , the property to , and the property to the value of the `isByRef` parameter.
+ This constructor sets the property to , the property to , and the property to the value of the `isByRef` parameter.
]]>
@@ -671,7 +671,7 @@
## Remarks
This constructor assigns the default value of the data type specified by the `typeCode` parameter to the .
- An intrinsic data type is a primitive data type (that is, the property of the type is `true`) or a , , , or .
+ An intrinsic data type is a primitive data type (that is, the property of the type is `true`) or a , , , or .
]]>
@@ -713,7 +713,7 @@
property to , the property to the type code of the array element type, and the property to the value of the `isByRef` parameter.
+ This constructor sets the property to , the property to the type code of the array element type, and the property to the value of the `isByRef` parameter.
]]>
@@ -748,7 +748,7 @@
property to , the property to , and the property to the value of the `isByRef` parameter.
+ This constructor sets the property to , the property to , and the property to the value of the `isByRef` parameter.
]]>
@@ -780,7 +780,7 @@
property to , the property to , and the property to the value of the `isByRef` parameter.
+ This constructor sets the property to , the property to , and the property to the value of the `isByRef` parameter.
]]>
@@ -812,7 +812,7 @@
property to , the property to , and the property to the value of the `isByRef` parameter.
+ This constructor sets the property to , the property to , and the property to the value of the `isByRef` parameter.
]]>
@@ -844,7 +844,7 @@
property to , the property to , and the property to the value of the `isByRef` parameter.
+ This constructor sets the property to , the property to , and the property to the value of the `isByRef` parameter.
]]>
@@ -876,7 +876,7 @@
property to , the property to , and the property to the value of the `isByRef` parameter.
+ This constructor sets the property to , the property to , and the property to the value of the `isByRef` parameter.
]]>
@@ -908,7 +908,7 @@
property to , the property to , and the property to the value of the `isByRef` parameter.
+ This constructor sets the property to , the property to , and the property to the value of the `isByRef` parameter.
]]>
@@ -940,7 +940,7 @@
property to , the property to , and the property to the value of the `isByRef` parameter.
+ This constructor sets the property to , the property to , and the property to the value of the `isByRef` parameter.
]]>
@@ -972,7 +972,7 @@
property to , the property to , and the property to the value of the `isByRef` parameter.
+ This constructor sets the property to , the property to , and the property to the value of the `isByRef` parameter.
]]>
@@ -1004,7 +1004,7 @@
property to , the property to , and the property to the value of the `isByRef` parameter.
+ This constructor sets the property to , the property to , and the property to the value of the `isByRef` parameter.
]]>
@@ -1036,7 +1036,7 @@
property to , the property to , and the property to the value of the `isByRef` parameter.
+ This constructor sets the property to , the property to , and the property to the value of the `isByRef` parameter.
]]>
@@ -1074,7 +1074,7 @@
property to , the property to , and the property to the value of the `isByRef` parameter.
+ This constructor sets the property to , the property to , and the property to the value of the `isByRef` parameter.
]]>
@@ -1106,7 +1106,7 @@
property to , the property to , and the property to the value of the `isByRef` parameter.
+ This constructor sets the property to , the property to , and the property to the value of the `isByRef` parameter.
]]>
@@ -1138,7 +1138,7 @@
property to , the property to , and the property to the value of the `isByRef` parameter.
+ This constructor sets the property to , the property to , and the property to the value of the `isByRef` parameter.
]]>
@@ -1176,7 +1176,7 @@
property to , the property to , and the property to the value of the `isByRef` parameter.
+ This constructor sets the property to , the property to , and the property to the value of the `isByRef` parameter.
]]>
@@ -1214,7 +1214,7 @@
property to , the property to , and the property to the value of the `isByRef` parameter.
+ This constructor sets the property to , the property to , and the property to the value of the `isByRef` parameter.
]]>
@@ -1252,7 +1252,7 @@
property to , the property to , and the property to the value of the `isByRef` parameter.
+ This constructor sets the property to , the property to , and the property to the value of the `isByRef` parameter.
]]>
@@ -1288,7 +1288,7 @@
## Remarks
This constructor assigns the default value of the data type specified by the `typeCode` parameter to the .
- An intrinsic data type is a primitive data type (that is, the property of the type is `true`) or a , , , or .
+ An intrinsic data type is a primitive data type (that is, the property of the type is `true`) or a , , , or .
]]>
@@ -1609,7 +1609,7 @@
## Remarks
This method calls the constructor that applies to the type of the `value` parameter.
- You cannot use this method to create a that represents a `null` array that contains elements of intrinsic data types. An intrinsic data type is a primitive data type (that is, the property of the type is `true`) or a , , , or .
+ You cannot use this method to create a that represents a `null` array that contains elements of intrinsic data types. An intrinsic data type is a primitive data type (that is, the property of the type is `true`) or a , , , or .
]]>
@@ -1937,7 +1937,7 @@
property of the type is `true`) or a , , , or .
+ An intrinsic data type is a primitive data type (that is, the property of the type is `true`) or a , , , or .
]]>
diff --git a/xml/System.AddIn.Contract/RemoteArgumentKind.xml b/xml/System.AddIn.Contract/RemoteArgumentKind.xml
index 8474e6b0b3d..d403d7ee15e 100644
--- a/xml/System.AddIn.Contract/RemoteArgumentKind.xml
+++ b/xml/System.AddIn.Contract/RemoteArgumentKind.xml
@@ -16,13 +16,13 @@
Specifies the kind of argument that a represents.
- enumeration is used by the property.
-
- An intrinsic data type is a primitive data type (that is, the property of the type is `true`) or a , , , or .
-
+ enumeration is used by the property.
+
+ An intrinsic data type is a primitive data type (that is, the property of the type is `true`) or a , , , or .
+
]]>
diff --git a/xml/System.AddIn.Hosting/AddInController.xml b/xml/System.AddIn.Hosting/AddInController.xml
index e1721807b0c..4dd34d4ca19 100644
--- a/xml/System.AddIn.Hosting/AddInController.xml
+++ b/xml/System.AddIn.Hosting/AddInController.xml
@@ -22,11 +22,11 @@
## Remarks
Use this class to perform the following tasks:
-- Use the property to obtain an object for an add-in. Then use that object to activate other add-ins in the same application domain and process as the original add-in.
+- Use the property to obtain an object for an add-in. Then use that object to activate other add-ins in the same application domain and process as the original add-in.
-- Use the property to obtain an object for an add-in. Then use that object to activate other add-ins in the same application domain as the original add-in. Note that because of limitations in cross-process remoting, this scenario will not work with add-ins that are activated in a separate process.
+- Use the property to obtain an object for an add-in. Then use that object to activate other add-ins in the same application domain as the original add-in. Note that because of limitations in cross-process remoting, this scenario will not work with add-ins that are activated in a separate process.
-- Use the property to obtain an object that represents an add-in.
+- Use the property to obtain an object that represents an add-in.
- Shut down an add-in with the method.
diff --git a/xml/System.AddIn.Hosting/AddInEnvironment.xml b/xml/System.AddIn.Hosting/AddInEnvironment.xml
index 610695c2095..ebd02a44cc1 100644
--- a/xml/System.AddIn.Hosting/AddInEnvironment.xml
+++ b/xml/System.AddIn.Hosting/AddInEnvironment.xml
@@ -28,13 +28,13 @@
- An existing external process.
- To obtain the object for an add-in, pass the add-in's application domain to the class constructor. Alternatively, you can use the property of the class to obtain the add-in's object.
+ To obtain the object for an add-in, pass the add-in's application domain to the class constructor. Alternatively, you can use the property of the class to obtain the add-in's object.
After you obtain the object, you can do the following:
- Pass that object to the appropriate method overload. The add-in will be activated in the application domain and process that is represented by the object.
-- Use the property to obtain an object. Then pass that object to the appropriate method overload. The add-in will be activated in the process that is represented by the object but in a new application domain.
+- Use the property to obtain an object. Then pass that object to the appropriate method overload. The add-in will be activated in the process that is represented by the object but in a new application domain.
]]>
@@ -64,7 +64,7 @@
object. Otherwise, you can use the property of the class to obtain the object.
+ If you have access to the application domain that contains the add-in you need, you can use this constructor to obtain the add-in's object. Otherwise, you can use the property of the class to obtain the object.
]]>
diff --git a/xml/System.AddIn.Hosting/AddInProcess.xml b/xml/System.AddIn.Hosting/AddInProcess.xml
index b5d4e69d366..025b7e6aae1 100644
--- a/xml/System.AddIn.Hosting/AddInProcess.xml
+++ b/xml/System.AddIn.Hosting/AddInProcess.xml
@@ -154,12 +154,12 @@
If the value of this property is `true`, the add-in is running in-process with the host application. In that case, using the or method throws an .
> [!NOTE]
-> The property returns an object that represents the host application process if the add-in is running in-process.
+> The property returns an object that represents the host application process if the add-in is running in-process.
## Examples
- The following example activates an add-in in an external process and uses the property to determine whether the add-in is in the same process as the host application process.
+ The following example activates an add-in in an external process and uses the property to determine whether the add-in is in the same process as the host application process.
:::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet10":::
:::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet10":::
diff --git a/xml/System.AddIn.Hosting/AddInSegmentDirectoryNotFoundException.xml b/xml/System.AddIn.Hosting/AddInSegmentDirectoryNotFoundException.xml
index 0b7807ec50b..38abed73806 100644
--- a/xml/System.AddIn.Hosting/AddInSegmentDirectoryNotFoundException.xml
+++ b/xml/System.AddIn.Hosting/AddInSegmentDirectoryNotFoundException.xml
@@ -23,11 +23,11 @@
The exception that is thrown when a segment directory is missing from the pipeline directory structure.
-
@@ -63,18 +63,18 @@
Initializes a new instance of the class.
- property of the new instance to a system-supplied message that describes the error (for example, "The target application domain has been unloaded."). This message takes the current system culture into account.
-
- The following table shows the initial property values for an instance of the class.
-
-|Property|Value|
-|--------------|-----------|
-||A null reference (`Nothing` in Visual Basic).|
-||The localized error message string.|
-
+ property of the new instance to a system-supplied message that describes the error (for example, "The target application domain has been unloaded."). This message takes the current system culture into account.
+
+ The following table shows the initial property values for an instance of the class.
+
+|Property|Value|
+|--------------|-----------|
+||A null reference (`Nothing` in Visual Basic).|
+||The localized error message string.|
+
]]>
@@ -105,16 +105,16 @@
A message that describes the error.
Initializes a new instance of the class with a specified message.
- class.
-
-|Property|Value|
-|--------------|-----------|
-||A null reference (`Nothing` in Visual Basic).|
-||The localized error message string.|
-
+ class.
+
+|Property|Value|
+|--------------|-----------|
+||A null reference (`Nothing` in Visual Basic).|
+||The localized error message string.|
+
]]>
@@ -147,18 +147,18 @@
The contextual information about the source or destination object data.
Initializes a new instance of the class with serialization data.
- class.
-
-|Property|Value|
-|--------------|-----------|
-||A null reference (`Nothing` in Visual Basic).|
-||The localized error message string.|
-
+ class.
+
+|Property|Value|
+|--------------|-----------|
+||A null reference (`Nothing` in Visual Basic).|
+||The localized error message string.|
+
]]>
@@ -191,18 +191,18 @@
The exception that is the cause of the current exception. If the parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
- property. The property returns the same value that is passed to the constructor, or a null reference if the property does not supply the inner exception value to the constructor.
-
- The following table shows the initial property values for an instance of the class.
-
-|Property|Value|
-|--------------|-----------|
-||The inner exception reference.|
-||The localized error message string.|
-
+ property. The property returns the same value that is passed to the constructor, or a null reference if the property does not supply the inner exception value to the constructor.
+
+ The following table shows the initial property values for an instance of the class.
+
+|Property|Value|
+|--------------|-----------|
+||The inner exception reference.|
+||The localized error message string.|
+
]]>
diff --git a/xml/System.AddIn.Hosting/AddInSegmentType.xml b/xml/System.AddIn.Hosting/AddInSegmentType.xml
index 72df054fab1..cd7479c772d 100644
--- a/xml/System.AddIn.Hosting/AddInSegmentType.xml
+++ b/xml/System.AddIn.Hosting/AddInSegmentType.xml
@@ -16,19 +16,19 @@
Specifies the type of a pipeline segment.
- attribute, you can obtain the data specified in the attribute with the property of an object.
-
-
-
-## Examples
- The following example uses the enumeration to evaluate an add-in's qualification data.
-
+ attribute, you can obtain the data specified in the attribute with the property of an object.
+
+
+
+## Examples
+ The following example uses the enumeration to evaluate an add-in's qualification data.
+
:::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet11":::
- :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet11":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet11":::
+
]]>
diff --git a/xml/System.AddIn.Hosting/AddInStore.xml b/xml/System.AddIn.Hosting/AddInStore.xml
index 16f808a1413..499de996f5a 100644
--- a/xml/System.AddIn.Hosting/AddInStore.xml
+++ b/xml/System.AddIn.Hosting/AddInStore.xml
@@ -86,7 +86,7 @@
collection. If multiple pipelines to the specified add-in are found, you can differentiate them by examining the property.
+ If a single pipeline for an add-in is found, it will be the only item in the collection. If multiple pipelines to the specified add-in are found, you can differentiate them by examining the property.
## Examples
The following example finds a specific add-in.
diff --git a/xml/System.AddIn.Hosting/AddInToken.xml b/xml/System.AddIn.Hosting/AddInToken.xml
index cc768658e06..a2310b3afd8 100644
--- a/xml/System.AddIn.Hosting/AddInToken.xml
+++ b/xml/System.AddIn.Hosting/AddInToken.xml
@@ -417,7 +417,7 @@
property. This value is always available on an instance of an object.
+ This property obtains the full name of the add-in as it would be returned by the property. This value is always available on an instance of an object.
@@ -454,7 +454,7 @@
property. This value is always available on an instance of an object.
+ This property obtains the display name of the assembly that contains the add-in, as it would be returned by the property. This value is always available on an instance of an object.
@@ -614,9 +614,9 @@
Use the enumerator returned by this method to iterate through the qualification data items of the pipeline segments associated with the current token. Each item of qualification data is a structure that identifies the pipeline segment and contains a name/value pair from a attribute applied to that segment.
> [!NOTE]
-> The add-in model does not use qualification data that is applied to the host view of the add-in. As a result, when you enumerate qualification data you will not find any items whose property is .
+> The add-in model does not use qualification data that is applied to the host view of the add-in. As a result, when you enumerate qualification data you will not find any items whose property is .
- Alternatively, you can use the property to get a nested set of dictionaries that contain the qualification data of the pipeline segments.
+ Alternatively, you can use the property to get a nested set of dictionaries that contain the qualification data of the pipeline segments.
## Examples
The following example lists the qualification data for the pipeline segments associated with each in a collection of tokens.
@@ -807,9 +807,9 @@
Use the enumerator returned by this method to iterate through the qualification data items of the pipeline segments associated with the current token. Each item of qualification data is a structure that identifies the pipeline segment and contains the name/value pair from a attribute applied to that segment.
> [!NOTE]
-> The add-in model does not use qualification data that is applied to the host view of the add-in. As a result, when you enumerate qualification data you will not find any items whose property is .
+> The add-in model does not use qualification data that is applied to the host view of the add-in. As a result, when you enumerate qualification data you will not find any items whose property is .
- Alternatively, you can use the property to get a nested set of dictionaries containing the qualification data of the pipeline segments.
+ Alternatively, you can use the property to get a nested set of dictionaries containing the qualification data of the pipeline segments.
]]>
diff --git a/xml/System.AddIn.Hosting/InvalidPipelineStoreException.xml b/xml/System.AddIn.Hosting/InvalidPipelineStoreException.xml
index ada121fd213..9a5fb8ead43 100644
--- a/xml/System.AddIn.Hosting/InvalidPipelineStoreException.xml
+++ b/xml/System.AddIn.Hosting/InvalidPipelineStoreException.xml
@@ -23,13 +23,13 @@
The exception that is thrown when a directory is not found and the user does not have permission to access the pipeline root path or an add-in path.
- , this exception does not provide any path information. This prevents a malicious user from deliberately specifying erroneous paths and using the information returned by the exception to determine actual paths.
-
- This exception is thrown by the following discovery methods that build and update the store of add-in and pipeline information: ,, , , and .
-
+ , this exception does not provide any path information. This prevents a malicious user from deliberately specifying erroneous paths and using the information returned by the exception to determine actual paths.
+
+ This exception is thrown by the following discovery methods that build and update the store of add-in and pipeline information: ,, , , and .
+
]]>
@@ -117,11 +117,11 @@
The contextual information about the source or destination object data.
Initializes a new instance of the class with serialization and streaming context information.
-
@@ -154,18 +154,18 @@
The exception that is the cause of the current exception. If the parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.
Initializes a new instance of the class with the specified message and a reference to the inner exception that is the cause of this exception.
- property. The property returns the same value that is passed to the constructor, or a null reference if the property does not supply the inner exception value to the constructor.
-
- The following table shows the initial property values for an instance of the class.
-
-|Property|Value|
-|--------------|-----------|
-||The inner exception reference.|
-||The localized error message string.|
-
+ property. The property returns the same value that is passed to the constructor, or a null reference if the property does not supply the inner exception value to the constructor.
+
+ The following table shows the initial property values for an instance of the class.
+
+|Property|Value|
+|--------------|-----------|
+||The inner exception reference.|
+||The localized error message string.|
+
]]>
diff --git a/xml/System.AddIn.Hosting/QualificationDataItem.xml b/xml/System.AddIn.Hosting/QualificationDataItem.xml
index 44537f86226..d821c9181c3 100644
--- a/xml/System.AddIn.Hosting/QualificationDataItem.xml
+++ b/xml/System.AddIn.Hosting/QualificationDataItem.xml
@@ -28,7 +28,7 @@
## Remarks
Each item of qualification data consists of a name/value pair that was applied to a pipeline segment by using the attribute, to provide information that qualifies the use of the segment (for example, the recommended isolation level for the segment). The structure contains one name/value pair and the type of pipeline segment it was applied to.
- Use the property to get a nested set of dictionaries that contains structures for the pipeline segments associated with an .
+ Use the property to get a nested set of dictionaries that contains structures for the pipeline segments associated with an .
Alternatively, use the method to get an enumerator for the structures of the pipeline segments associated with a token, or simply use a `foreach` statement (`For Each` in Visual Basic) to treat the token as if it were a collection of structures.
@@ -121,12 +121,12 @@
attribute, to provide information to consumers of the add-in. The property gets the name. Use the property to get the value.
+ Each item of qualification data consists of a name/value pair that was applied to a pipeline segment by using the attribute, to provide information to consumers of the add-in. The property gets the name. Use the property to get the value.
## Examples
- The following example lists the qualification data for the pipeline segments associated with each in a collection of tokens. The property is used to display the name of each item.
+ The following example lists the qualification data for the pipeline segments associated with each in a collection of tokens. The property is used to display the name of each item.
:::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet12":::
:::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet12":::
@@ -225,12 +225,12 @@
When you enumerate qualification data, use this property to identify the qualification data that belongs to a particular segment of the pipeline.
> [!NOTE]
-> The add-in model does not use qualification data that is applied to the host view of the add-in. As a result, when you enumerate qualification data you will not find any items whose property is .
+> The add-in model does not use qualification data that is applied to the host view of the add-in. As a result, when you enumerate qualification data you will not find any items whose property is .
## Examples
- The following example lists the qualification data for the pipeline segments associated with each in a collection of tokens. The property is used to display the kind of segment.
+ The following example lists the qualification data for the pipeline segments associated with each in a collection of tokens. The property is used to display the kind of segment.
:::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet12":::
:::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet12":::
@@ -268,12 +268,12 @@
attribute, to provide information to consumers of the add-in. The property gets the value. Use the property to get the name.
+ Each item of qualification data consists of a name/value pair that was applied to a pipeline segment by using the attribute, to provide information to consumers of the add-in. The property gets the value. Use the property to get the name.
## Examples
- The following example lists the qualification data for the pipeline segments associated with each in a collection of tokens. The property is used to display the value of the item.
+ The following example lists the qualification data for the pipeline segments associated with each in a collection of tokens. The property is used to display the value of the item.
:::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet12":::
:::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet12":::
diff --git a/xml/System.AddIn.Pipeline/QualificationDataAttribute.xml b/xml/System.AddIn.Pipeline/QualificationDataAttribute.xml
index 3711a0b9b24..3e8f5694c77 100644
--- a/xml/System.AddIn.Pipeline/QualificationDataAttribute.xml
+++ b/xml/System.AddIn.Pipeline/QualificationDataAttribute.xml
@@ -23,25 +23,25 @@
Provides developer-specified data for a pipeline segment.
- and methods, which maintain the store of information about available pipeline segments, use this attribute to identify a segment that has qualification data.
-
- To access the qualification data for a pipeline segment, see the property. To enumerate the data for all the pipeline segments, see the class.
-
- Qualification data is only read by the host and is not consumed by the add-in system in any other way.
-
+ and methods, which maintain the store of information about available pipeline segments, use this attribute to identify a segment that has qualification data.
+
+ To access the qualification data for a pipeline segment, see the property. To enumerate the data for all the pipeline segments, see the class.
+
+ Qualification data is only read by the host and is not consumed by the add-in system in any other way.
+
You can apply qualification data to a pipeline segment by placing a attribute next to the segment attribute.
-## Examples
- The following example applies qualification data to an add-in.
-
+## Examples
+ The following example applies qualification data to an add-in.
+
:::code language="csharp" source="~/snippets/csharp/System.AddIn/AddInAttribute/Overview/addincalcv2.cs" id="Snippet2":::
- :::code language="vb" source="~/snippets/visualbasic/System.AddIn/AddInAttribute/Overview/AddInCalcV2.vb" id="Snippet2":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.AddIn/AddInAttribute/Overview/AddInCalcV2.vb" id="Snippet2":::
+
]]>
@@ -74,11 +74,11 @@
Any value.
Initializes a new instance of the class.
-
diff --git a/xml/System.CodeDom.Compiler/CodeGeneratorOptions.xml b/xml/System.CodeDom.Compiler/CodeGeneratorOptions.xml
index 41817a8b830..34923ee21dd 100644
--- a/xml/System.CodeDom.Compiler/CodeGeneratorOptions.xml
+++ b/xml/System.CodeDom.Compiler/CodeGeneratorOptions.xml
@@ -39,7 +39,7 @@
## Remarks
is passed to the code generation methods of an implementation to specify options used during code generation.
- The property specifies the string to use for each spacing indentation. The property specifies the placement style for braces indicating the boundaries of code blocks. The property specifies whether to append an `else`, `catch`, or `finally` block, including brackets, at the closing line of each `if` or `try` block. The property specifies whether to insert blank lines between members.
+ The property specifies the string to use for each spacing indentation. The property specifies the placement style for braces indicating the boundaries of code blocks. The property specifies whether to append an `else`, `catch`, or `finally` block, including brackets, at the closing line of each `if` or `try` block. The property specifies whether to insert blank lines between members.
An implementation can provide custom code generation options which you can set or pass data to using the dictionary indexer, which a code generator can search through to locate additional code generation options.
@@ -331,7 +331,7 @@
property to inject #region blocks into code, thus changing the order.
+ The default generates members by their type, for example; field, member, constructor, or property. A code generator can use the property to inject #region blocks into code, thus changing the order.
]]>
diff --git a/xml/System.CodeDom.Compiler/CompilerError.xml b/xml/System.CodeDom.Compiler/CompilerError.xml
index 7c151752bae..19476a9db2c 100644
--- a/xml/System.CodeDom.Compiler/CompilerError.xml
+++ b/xml/System.CodeDom.Compiler/CompilerError.xml
@@ -197,7 +197,7 @@
property can be set to zero for compilers that do not return column information.
+ The property can be set to zero for compilers that do not return column information.
]]>
@@ -249,7 +249,7 @@
property can contain a string of any length.
+ The property can contain a string of any length.
]]>
@@ -301,7 +301,7 @@
property can be a string of any length.
+ The property can be a string of any length.
]]>
diff --git a/xml/System.CodeDom.Compiler/CompilerInfo.xml b/xml/System.CodeDom.Compiler/CompilerInfo.xml
index a2732c97732..da51f974c31 100644
--- a/xml/System.CodeDom.Compiler/CompilerInfo.xml
+++ b/xml/System.CodeDom.Compiler/CompilerInfo.xml
@@ -99,7 +99,7 @@
implementation on the computer. The property value is a instance that represents a configured language provider implementation.
+ The machine configuration file contains the fully qualified type name for each implementation on the computer. The property value is a