StoryFragments Class

 

Represents a set of one or more StoryFragment elements.

Namespace:   System.Windows.Documents.DocumentStructures
Assembly:  PresentationFramework (in PresentationFramework.dll)

System.Object
  System.Windows.Documents.DocumentStructures.StoryFragments

public class StoryFragments : IAddChild, IEnumerable<StoryFragment>, 
	IEnumerable

NameDescription
System_CAPS_pubmethodStoryFragments()

Initializes a new instance of the StoryFragments class.

NameDescription
System_CAPS_pubmethodAdd(StoryFragment)

Adds a StoryFragment to the StoryFragments collection.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable<StoryFragment>.GetEnumerator()

This API supports the product infrastructure and is not intended to be used directly from your code. This API is not implemented.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

This API supports the product infrastructure and is not intended to be used directly from your code. This API is not implemented.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAddChild.AddChild(Object)

Adds a child object to the StoryFragments.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAddChild.AddText(String)

Adds the text content of a node to the object.

NameDescription
System_CAPS_pubmethodAggregate<StoryFragment>(Func<StoryFragment, StoryFragment, StoryFragment>)

Overloaded. Applies an accumulator function over a sequence.(Defined by Enumerable.)

System_CAPS_pubmethodAggregate<StoryFragment, TAccumulate>(TAccumulate, Func<TAccumulate, StoryFragment, TAccumulate>)

Overloaded. Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value.(Defined by Enumerable.)

System_CAPS_pubmethodAggregate<StoryFragment, TAccumulate, TResult>(TAccumulate, Func<TAccumulate, StoryFragment, TAccumulate>, Func<TAccumulate, TResult>)

Overloaded. Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value, and the specified function is used to select the result value.(Defined by Enumerable.)

System_CAPS_pubmethodAll<StoryFragment>(Func<StoryFragment, Boolean>)

Determines whether all elements of a sequence satisfy a condition.(Defined by Enumerable.)

System_CAPS_pubmethodAny<StoryFragment>()

Overloaded. Determines whether a sequence contains any elements.(Defined by Enumerable.)

System_CAPS_pubmethodAny<StoryFragment>(Func<StoryFragment, Boolean>)

Overloaded. Determines whether any element of a sequence satisfies a condition.(Defined by Enumerable.)

System_CAPS_pubmethodAsEnumerable<StoryFragment>()

Returns the input typed as IEnumerable<T>.(Defined by Enumerable.)

System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsParallel<StoryFragment>()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodAsQueryable<StoryFragment>()

Overloaded. Converts a generic IEnumerable<T> to a generic IQueryable<T>.(Defined by Queryable.)

System_CAPS_pubmethodAverage<StoryFragment>(Func<StoryFragment, Decimal>)

Overloaded. Computes the average of a sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodAverage<StoryFragment>(Func<StoryFragment, Double>)

Overloaded. Computes the average of a sequence of Double values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodAverage<StoryFragment>(Func<StoryFragment, Int32>)

Overloaded. Computes the average of a sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodAverage<StoryFragment>(Func<StoryFragment, Int64>)

Overloaded. Computes the average of a sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodAverage<StoryFragment>(Func<StoryFragment, Nullable<Decimal>>)

Overloaded. Computes the average of a sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodAverage<StoryFragment>(Func<StoryFragment, Nullable<Double>>)

Overloaded. Computes the average of a sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodAverage<StoryFragment>(Func<StoryFragment, Nullable<Int32>>)

Overloaded. Computes the average of a sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodAverage<StoryFragment>(Func<StoryFragment, Nullable<Int64>>)

Overloaded. Computes the average of a sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodAverage<StoryFragment>(Func<StoryFragment, Nullable<Single>>)

Overloaded. Computes the average of a sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodAverage<StoryFragment>(Func<StoryFragment, Single>)

Overloaded. Computes the average of a sequence of Single values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodConcat<StoryFragment>(IEnumerable<StoryFragment>)

Concatenates two sequences.(Defined by Enumerable.)

System_CAPS_pubmethodContains<StoryFragment>(StoryFragment)

Overloaded. Determines whether a sequence contains a specified element by using the default equality comparer.(Defined by Enumerable.)

System_CAPS_pubmethodContains<StoryFragment>(StoryFragment, IEqualityComparer<StoryFragment>)

Overloaded. Determines whether a sequence contains a specified element by using a specified IEqualityComparer<T>.(Defined by Enumerable.)

System_CAPS_pubmethodCount<StoryFragment>()

Overloaded. Returns the number of elements in a sequence.(Defined by Enumerable.)

System_CAPS_pubmethodCount<StoryFragment>(Func<StoryFragment, Boolean>)

Overloaded. Returns a number that represents how many elements in the specified sequence satisfy a condition.(Defined by Enumerable.)

System_CAPS_pubmethodDefaultIfEmpty<StoryFragment>()

Overloaded. Returns the elements of the specified sequence or the type parameter's default value in a singleton collection if the sequence is empty.(Defined by Enumerable.)

System_CAPS_pubmethodDefaultIfEmpty<StoryFragment>(StoryFragment)

Overloaded. Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty.(Defined by Enumerable.)

System_CAPS_pubmethodDistinct<StoryFragment>()

Overloaded. Returns distinct elements from a sequence by using the default equality comparer to compare values.(Defined by Enumerable.)

System_CAPS_pubmethodDistinct<StoryFragment>(IEqualityComparer<StoryFragment>)

Overloaded. Returns distinct elements from a sequence by using a specified IEqualityComparer<T> to compare values.(Defined by Enumerable.)

System_CAPS_pubmethodElementAt<StoryFragment>(Int32)

Returns the element at a specified index in a sequence.(Defined by Enumerable.)

System_CAPS_pubmethodElementAtOrDefault<StoryFragment>(Int32)

Returns the element at a specified index in a sequence or a default value if the index is out of range.(Defined by Enumerable.)

System_CAPS_pubmethodExcept<StoryFragment>(IEnumerable<StoryFragment>)

Overloaded. Produces the set difference of two sequences by using the default equality comparer to compare values.(Defined by Enumerable.)

System_CAPS_pubmethodExcept<StoryFragment>(IEnumerable<StoryFragment>, IEqualityComparer<StoryFragment>)

Overloaded. Produces the set difference of two sequences by using the specified IEqualityComparer<T> to compare values.(Defined by Enumerable.)

System_CAPS_pubmethodFirst<StoryFragment>()

Overloaded. Returns the first element of a sequence.(Defined by Enumerable.)

System_CAPS_pubmethodFirst<StoryFragment>(Func<StoryFragment, Boolean>)

Overloaded. Returns the first element in a sequence that satisfies a specified condition.(Defined by Enumerable.)

System_CAPS_pubmethodFirstOrDefault<StoryFragment>()

Overloaded. Returns the first element of a sequence, or a default value if the sequence contains no elements.(Defined by Enumerable.)

System_CAPS_pubmethodFirstOrDefault<StoryFragment>(Func<StoryFragment, Boolean>)

Overloaded. Returns the first element of the sequence that satisfies a condition or a default value if no such element is found.(Defined by Enumerable.)

System_CAPS_pubmethodGroupBy<StoryFragment, TKey>(Func<StoryFragment, TKey>)

Overloaded. Groups the elements of a sequence according to a specified key selector function.(Defined by Enumerable.)

System_CAPS_pubmethodGroupBy<StoryFragment, TKey>(Func<StoryFragment, TKey>, IEqualityComparer<TKey>)

Overloaded. Groups the elements of a sequence according to a specified key selector function and compares the keys by using a specified comparer.(Defined by Enumerable.)

System_CAPS_pubmethodGroupBy<StoryFragment, TKey, TElement>(Func<StoryFragment, TKey>, Func<StoryFragment, TElement>)

Overloaded. Groups the elements of a sequence according to a specified key selector function and projects the elements for each group by using a specified function.(Defined by Enumerable.)

System_CAPS_pubmethodGroupBy<StoryFragment, TKey, TElement>(Func<StoryFragment, TKey>, Func<StoryFragment, TElement>, IEqualityComparer<TKey>)

Overloaded. Groups the elements of a sequence according to a key selector function. The keys are compared by using a comparer and each group's elements are projected by using a specified function.(Defined by Enumerable.)

System_CAPS_pubmethodGroupBy<StoryFragment, TKey, TResult>(Func<StoryFragment, TKey>, Func<TKey, IEnumerable<StoryFragment>, TResult>)

Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key.(Defined by Enumerable.)

System_CAPS_pubmethodGroupBy<StoryFragment, TKey, TResult>(Func<StoryFragment, TKey>, Func<TKey, IEnumerable<StoryFragment>, TResult>, IEqualityComparer<TKey>)

Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The keys are compared by using a specified comparer.(Defined by Enumerable.)

System_CAPS_pubmethodGroupBy<StoryFragment, TKey, TElement, TResult>(Func<StoryFragment, TKey>, Func<StoryFragment, TElement>, Func<TKey, IEnumerable<TElement>, TResult>)

Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The elements of each group are projected by using a specified function.(Defined by Enumerable.)

System_CAPS_pubmethodGroupBy<StoryFragment, TKey, TElement, TResult>(Func<StoryFragment, TKey>, Func<StoryFragment, TElement>, Func<TKey, IEnumerable<TElement>, TResult>, IEqualityComparer<TKey>)

Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. Key values are compared by using a specified comparer, and the elements of each group are projected by using a specified function.(Defined by Enumerable.)

System_CAPS_pubmethodGroupJoin<StoryFragment, TInner, TKey, TResult>(IEnumerable<TInner>, Func<StoryFragment, TKey>, Func<TInner, TKey>, Func<StoryFragment, IEnumerable<TInner>, TResult>)

Overloaded. Correlates the elements of two sequences based on equality of keys and groups the results. The default equality comparer is used to compare keys.(Defined by Enumerable.)

System_CAPS_pubmethodGroupJoin<StoryFragment, TInner, TKey, TResult>(IEnumerable<TInner>, Func<StoryFragment, TKey>, Func<TInner, TKey>, Func<StoryFragment, IEnumerable<TInner>, TResult>, IEqualityComparer<TKey>)

Overloaded. Correlates the elements of two sequences based on key equality and groups the results. A specified IEqualityComparer<T> is used to compare keys.(Defined by Enumerable.)

System_CAPS_pubmethodIntersect<StoryFragment>(IEnumerable<StoryFragment>)

Overloaded. Produces the set intersection of two sequences by using the default equality comparer to compare values.(Defined by Enumerable.)

System_CAPS_pubmethodIntersect<StoryFragment>(IEnumerable<StoryFragment>, IEqualityComparer<StoryFragment>)

Overloaded. Produces the set intersection of two sequences by using the specified IEqualityComparer<T> to compare values.(Defined by Enumerable.)

System_CAPS_pubmethodJoin<StoryFragment, TInner, TKey, TResult>(IEnumerable<TInner>, Func<StoryFragment, TKey>, Func<TInner, TKey>, Func<StoryFragment, TInner, TResult>)

Overloaded. Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys.(Defined by Enumerable.)

System_CAPS_pubmethodJoin<StoryFragment, TInner, TKey, TResult>(IEnumerable<TInner>, Func<StoryFragment, TKey>, Func<TInner, TKey>, Func<StoryFragment, TInner, TResult>, IEqualityComparer<TKey>)

Overloaded. Correlates the elements of two sequences based on matching keys. A specified IEqualityComparer<T> is used to compare keys.(Defined by Enumerable.)

System_CAPS_pubmethodLast<StoryFragment>()

Overloaded. Returns the last element of a sequence.(Defined by Enumerable.)

System_CAPS_pubmethodLast<StoryFragment>(Func<StoryFragment, Boolean>)

Overloaded. Returns the last element of a sequence that satisfies a specified condition.(Defined by Enumerable.)

System_CAPS_pubmethodLastOrDefault<StoryFragment>()

Overloaded. Returns the last element of a sequence, or a default value if the sequence contains no elements.(Defined by Enumerable.)

System_CAPS_pubmethodLastOrDefault<StoryFragment>(Func<StoryFragment, Boolean>)

Overloaded. Returns the last element of a sequence that satisfies a condition or a default value if no such element is found.(Defined by Enumerable.)

System_CAPS_pubmethodLongCount<StoryFragment>()

Overloaded. Returns an Int64 that represents the total number of elements in a sequence.(Defined by Enumerable.)

System_CAPS_pubmethodLongCount<StoryFragment>(Func<StoryFragment, Boolean>)

Overloaded. Returns an Int64 that represents how many elements in a sequence satisfy a condition.(Defined by Enumerable.)

System_CAPS_pubmethodMax<StoryFragment>()

Overloaded. Returns the maximum value in a generic sequence.(Defined by Enumerable.)

System_CAPS_pubmethodMax<StoryFragment>(Func<StoryFragment, Decimal>)

Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Decimal value.(Defined by Enumerable.)

System_CAPS_pubmethodMax<StoryFragment>(Func<StoryFragment, Double>)

Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Double value.(Defined by Enumerable.)

System_CAPS_pubmethodMax<StoryFragment>(Func<StoryFragment, Int32>)

Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Int32 value.(Defined by Enumerable.)

System_CAPS_pubmethodMax<StoryFragment>(Func<StoryFragment, Int64>)

Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Int64 value.(Defined by Enumerable.)

System_CAPS_pubmethodMax<StoryFragment>(Func<StoryFragment, Nullable<Decimal>>)

Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Decimal value.(Defined by Enumerable.)

System_CAPS_pubmethodMax<StoryFragment>(Func<StoryFragment, Nullable<Double>>)

Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Double value.(Defined by Enumerable.)

System_CAPS_pubmethodMax<StoryFragment>(Func<StoryFragment, Nullable<Int32>>)

Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Int32 value.(Defined by Enumerable.)

System_CAPS_pubmethodMax<StoryFragment>(Func<StoryFragment, Nullable<Int64>>)

Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Int64 value.(Defined by Enumerable.)

System_CAPS_pubmethodMax<StoryFragment>(Func<StoryFragment, Nullable<Single>>)

Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Single value.(Defined by Enumerable.)

System_CAPS_pubmethodMax<StoryFragment>(Func<StoryFragment, Single>)

Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Single value.(Defined by Enumerable.)

System_CAPS_pubmethodMax<StoryFragment, TResult>(Func<StoryFragment, TResult>)

Overloaded. Invokes a transform function on each element of a generic sequence and returns the maximum resulting value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<StoryFragment>()

Overloaded. Returns the minimum value in a generic sequence.(Defined by Enumerable.)

System_CAPS_pubmethodMin<StoryFragment>(Func<StoryFragment, Decimal>)

Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Decimal value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<StoryFragment>(Func<StoryFragment, Double>)

Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Double value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<StoryFragment>(Func<StoryFragment, Int32>)

Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Int32 value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<StoryFragment>(Func<StoryFragment, Int64>)

Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Int64 value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<StoryFragment>(Func<StoryFragment, Nullable<Decimal>>)

Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Decimal value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<StoryFragment>(Func<StoryFragment, Nullable<Double>>)

Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Double value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<StoryFragment>(Func<StoryFragment, Nullable<Int32>>)

Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Int32 value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<StoryFragment>(Func<StoryFragment, Nullable<Int64>>)

Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Int64 value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<StoryFragment>(Func<StoryFragment, Nullable<Single>>)

Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Single value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<StoryFragment>(Func<StoryFragment, Single>)

Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Single value.(Defined by Enumerable.)

System_CAPS_pubmethodMin<StoryFragment, TResult>(Func<StoryFragment, TResult>)

Overloaded. Invokes a transform function on each element of a generic sequence and returns the minimum resulting value.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOrderBy<StoryFragment, TKey>(Func<StoryFragment, TKey>)

Overloaded. Sorts the elements of a sequence in ascending order according to a key.(Defined by Enumerable.)

System_CAPS_pubmethodOrderBy<StoryFragment, TKey>(Func<StoryFragment, TKey>, IComparer<TKey>)

Overloaded. Sorts the elements of a sequence in ascending order by using a specified comparer.(Defined by Enumerable.)

System_CAPS_pubmethodOrderByDescending<StoryFragment, TKey>(Func<StoryFragment, TKey>)

Overloaded. Sorts the elements of a sequence in descending order according to a key.(Defined by Enumerable.)

System_CAPS_pubmethodOrderByDescending<StoryFragment, TKey>(Func<StoryFragment, TKey>, IComparer<TKey>)

Overloaded. Sorts the elements of a sequence in descending order by using a specified comparer.(Defined by Enumerable.)

System_CAPS_pubmethodReverse<StoryFragment>()

Inverts the order of the elements in a sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSelect<StoryFragment, TResult>(Func<StoryFragment, TResult>)

Overloaded. Projects each element of a sequence into a new form.(Defined by Enumerable.)

System_CAPS_pubmethodSelect<StoryFragment, TResult>(Func<StoryFragment, Int32, TResult>)

Overloaded. Projects each element of a sequence into a new form by incorporating the element's index.(Defined by Enumerable.)

System_CAPS_pubmethodSelectMany<StoryFragment, TResult>(Func<StoryFragment, IEnumerable<TResult>>)

Overloaded. Projects each element of a sequence to an IEnumerable<T> and flattens the resulting sequences into one sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSelectMany<StoryFragment, TResult>(Func<StoryFragment, Int32, IEnumerable<TResult>>)

Overloaded. Projects each element of a sequence to an IEnumerable<T>, and flattens the resulting sequences into one sequence. The index of each source element is used in the projected form of that element.(Defined by Enumerable.)

System_CAPS_pubmethodSelectMany<StoryFragment, TCollection, TResult>(Func<StoryFragment, IEnumerable<TCollection>>, Func<StoryFragment, TCollection, TResult>)

Overloaded. Projects each element of a sequence to an IEnumerable<T>, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein.(Defined by Enumerable.)

System_CAPS_pubmethodSelectMany<StoryFragment, TCollection, TResult>(Func<StoryFragment, Int32, IEnumerable<TCollection>>, Func<StoryFragment, TCollection, TResult>)

Overloaded. Projects each element of a sequence to an IEnumerable<T>, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein. The index of each source element is used in the intermediate projected form of that element.(Defined by Enumerable.)

System_CAPS_pubmethodSequenceEqual<StoryFragment>(IEnumerable<StoryFragment>)

Overloaded. Determines whether two sequences are equal by comparing the elements by using the default equality comparer for their type.(Defined by Enumerable.)

System_CAPS_pubmethodSequenceEqual<StoryFragment>(IEnumerable<StoryFragment>, IEqualityComparer<StoryFragment>)

Overloaded. Determines whether two sequences are equal by comparing their elements by using a specified IEqualityComparer<T>.(Defined by Enumerable.)

System_CAPS_pubmethodSingle<StoryFragment>()

Overloaded. Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSingle<StoryFragment>(Func<StoryFragment, Boolean>)

Overloaded. Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists.(Defined by Enumerable.)

System_CAPS_pubmethodSingleOrDefault<StoryFragment>()

Overloaded. Returns the only element of a sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSingleOrDefault<StoryFragment>(Func<StoryFragment, Boolean>)

Overloaded. Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition.(Defined by Enumerable.)

System_CAPS_pubmethodSkip<StoryFragment>(Int32)

Bypasses a specified number of elements in a sequence and then returns the remaining elements.(Defined by Enumerable.)

System_CAPS_pubmethodSkipWhile<StoryFragment>(Func<StoryFragment, Boolean>)

Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements.(Defined by Enumerable.)

System_CAPS_pubmethodSkipWhile<StoryFragment>(Func<StoryFragment, Int32, Boolean>)

Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. The element's index is used in the logic of the predicate function.(Defined by Enumerable.)

System_CAPS_pubmethodSum<StoryFragment>(Func<StoryFragment, Decimal>)

Overloaded. Computes the sum of the sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSum<StoryFragment>(Func<StoryFragment, Double>)

Overloaded. Computes the sum of the sequence of Double values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSum<StoryFragment>(Func<StoryFragment, Int32>)

Overloaded. Computes the sum of the sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSum<StoryFragment>(Func<StoryFragment, Int64>)

Overloaded. Computes the sum of the sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSum<StoryFragment>(Func<StoryFragment, Nullable<Decimal>>)

Overloaded. Computes the sum of the sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSum<StoryFragment>(Func<StoryFragment, Nullable<Double>>)

Overloaded. Computes the sum of the sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSum<StoryFragment>(Func<StoryFragment, Nullable<Int32>>)

Overloaded. Computes the sum of the sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSum<StoryFragment>(Func<StoryFragment, Nullable<Int64>>)

Overloaded. Computes the sum of the sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSum<StoryFragment>(Func<StoryFragment, Nullable<Single>>)

Overloaded. Computes the sum of the sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodSum<StoryFragment>(Func<StoryFragment, Single>)

Overloaded. Computes the sum of the sequence of Single values that are obtained by invoking a transform function on each element of the input sequence.(Defined by Enumerable.)

System_CAPS_pubmethodTake<StoryFragment>(Int32)

Returns a specified number of contiguous elements from the start of a sequence.(Defined by Enumerable.)

System_CAPS_pubmethodTakeWhile<StoryFragment>(Func<StoryFragment, Boolean>)

Overloaded. Returns elements from a sequence as long as a specified condition is true.(Defined by Enumerable.)

System_CAPS_pubmethodTakeWhile<StoryFragment>(Func<StoryFragment, Int32, Boolean>)

Overloaded. Returns elements from a sequence as long as a specified condition is true. The element's index is used in the logic of the predicate function.(Defined by Enumerable.)

System_CAPS_pubmethodToArray<StoryFragment>()

Creates an array from a IEnumerable<T>.(Defined by Enumerable.)

System_CAPS_pubmethodToDictionary<StoryFragment, TKey>(Func<StoryFragment, TKey>)

Overloaded. Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to a specified key selector function.(Defined by Enumerable.)

System_CAPS_pubmethodToDictionary<StoryFragment, TKey>(Func<StoryFragment, TKey>, IEqualityComparer<TKey>)

Overloaded. Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to a specified key selector function and key comparer.(Defined by Enumerable.)

System_CAPS_pubmethodToDictionary<StoryFragment, TKey, TElement>(Func<StoryFragment, TKey>, Func<StoryFragment, TElement>)

Overloaded. Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to specified key selector and element selector functions.(Defined by Enumerable.)

System_CAPS_pubmethodToDictionary<StoryFragment, TKey, TElement>(Func<StoryFragment, TKey>, Func<StoryFragment, TElement>, IEqualityComparer<TKey>)

Overloaded. Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to a specified key selector function, a comparer, and an element selector function.(Defined by Enumerable.)

System_CAPS_pubmethodToList<StoryFragment>()

Creates a List<T> from an IEnumerable<T>.(Defined by Enumerable.)

System_CAPS_pubmethodToLookup<StoryFragment, TKey>(Func<StoryFragment, TKey>)

Overloaded. Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to a specified key selector function.(Defined by Enumerable.)

System_CAPS_pubmethodToLookup<StoryFragment, TKey>(Func<StoryFragment, TKey>, IEqualityComparer<TKey>)

Overloaded. Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to a specified key selector function and key comparer.(Defined by Enumerable.)

System_CAPS_pubmethodToLookup<StoryFragment, TKey, TElement>(Func<StoryFragment, TKey>, Func<StoryFragment, TElement>)

Overloaded. Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to specified key selector and element selector functions.(Defined by Enumerable.)

System_CAPS_pubmethodToLookup<StoryFragment, TKey, TElement>(Func<StoryFragment, TKey>, Func<StoryFragment, TElement>, IEqualityComparer<TKey>)

Overloaded. Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to a specified key selector function, a comparer and an element selector function.(Defined by Enumerable.)

System_CAPS_pubmethodUnion<StoryFragment>(IEnumerable<StoryFragment>)

Overloaded. Produces the set union of two sequences by using the default equality comparer.(Defined by Enumerable.)

System_CAPS_pubmethodUnion<StoryFragment>(IEnumerable<StoryFragment>, IEqualityComparer<StoryFragment>)

Overloaded. Produces the set union of two sequences by using a specified IEqualityComparer<T>.(Defined by Enumerable.)

System_CAPS_pubmethodWhere<StoryFragment>(Func<StoryFragment, Boolean>)

Overloaded. Filters a sequence of values based on a predicate.(Defined by Enumerable.)

System_CAPS_pubmethodWhere<StoryFragment>(Func<StoryFragment, Int32, Boolean>)

Overloaded. Filters a sequence of values based on a predicate. Each element's index is used in the logic of the predicate function.(Defined by Enumerable.)

System_CAPS_pubmethodZip<StoryFragment, TSecond, TResult>(IEnumerable<TSecond>, Func<StoryFragment, TSecond, TResult>)

Applies a specified function to the corresponding elements of two sequences, producing a sequence of the results.(Defined by Enumerable.)

A StoryFragments element defines the structure and content of a FixedPage.

StoryFragments is the root of one or more StoryFragment elements.

For detailed information about the document structure of XPS, see Chapter 9 and Appendix E of the XML Paper Specification (XPS) that can be downloaded from the Windows Hardware Developer Central.

The following example shows how to use of the StoryFragments element in an XPS document.

<StoryFragments
      xmlns="http://schemas.microsoft.com/xps/2005/06/documentstructure"
      xmlns:x="http://schemas.microsoft.com/xps/2005/06/documentstructure" 
      xmlns:my="clr-namespace:MyCompany.MyProduct>

  <StoryFragment FragmentType="Header">
    <ParagraphStructure>
      <NamedElement NameReference="Pg1HeaderP1" />
    </ParagraphStructure>
  </StoryFragment>

  <StoryFragment StoryName="DocumentBody" FragmentType="Content">
    <SectionStructure>
      <ParagraphStructure>
        <NamedElement NameReference="Pg1Heading1" />
      </ParagraphStructure>

      <ParagraphStructure>
        <NamedElement NameReference="Pg1P1" />
      </ParagraphStructure>

      <ParagraphStructure>
        <NamedElement NameReference="Pg1P2" />
      </ParagraphStructure>

      <ParagraphStructure>
        <NamedElement NameReference="Pg1P3" />
      </ParagraphStructure>

      <ParagraphStructure>
        <NamedElement NameReference="Pg1P4" />
      </ParagraphStructure>

      <ParagraphStructure>
        <NamedElement NameReference="Pg1P5" />
      </ParagraphStructure>

      <ParagraphStructure>
        <NamedElement NameReference="Pg1Heading2" />
      </ParagraphStructure>

      <ParagraphStructure>
        <NamedElement NameReference="Pg1P6" />
      </ParagraphStructure>

      <ParagraphStructure>
        <NamedElement NameReference="Pg1P7" />
      </ParagraphStructure>

      <TableStructure>
        <TableRowGroupStructure>

          <TableRowStructure>
            <TableCellStructure>
              <ParagraphStructure>
                <NamedElement NameReference="R1C1P1" />
              </ParagraphStructure>
            </TableCellStructure>
            <TableCellStructure>
              <ParagraphStructure>
                <NamedElement NameReference="R1C2P1" />
              </ParagraphStructure>
            </TableCellStructure>
          </TableRowStructure>

          <TableRowStructure>
            <TableCellStructure>
              <ParagraphStructure>
                <NamedElement NameReference="R2C1P1" />
              </ParagraphStructure>
            </TableCellStructure>
            <TableCellStructure>
              <ParagraphStructure>
                <NamedElement NameReference="R2C2P1" />
              </ParagraphStructure>
              <ParagraphStructure>
                <NamedElement NameReference="R2C2P2" />
              </ParagraphStructure>
            </TableCellStructure>
          </TableRowStructure>

          <TableRowStructure>
            <TableCellStructure>
              <ParagraphStructure>
                <NamedElement NameReference="R3C1P1" />
              </ParagraphStructure>
            </TableCellStructure>
            <TableCellStructure>
              <ParagraphStructure>
                <NamedElement NameReference="R3C2P1" />
              </ParagraphStructure>
            </TableCellStructure>
          </TableRowStructure>

          <TableRowStructure>
            <TableCellStructure>
              <ParagraphStructure>
                <NamedElement NameReference="R4C1P1" />
              </ParagraphStructure>
            </TableCellStructure>
            <TableCellStructure>
              <ParagraphStructure>
                <NamedElement NameReference="R4C2P1" />
              </ParagraphStructure>
            </TableCellStructure>
          </TableRowStructure>

          <TableRowStructure>
            <TableCellStructure>
              <ParagraphStructure>
                <NamedElement NameReference="R5C1P1" />
              </ParagraphStructure>
            </TableCellStructure>
            <TableCellStructure>
              <ParagraphStructure>
                <NamedElement NameReference="R5C2P1" />
              </ParagraphStructure>
            </TableCellStructure>
          </TableRowStructure>

        </TableRowGroupStructure>
      </TableStructure>
    </SectionStructure>
  </StoryFragment>

  <StoryFragment FragmentType="Footer">
    <ParagraphStructure>
      <NamedElement NameReference="Pg1FooterP1" />
    </ParagraphStructure>
    <ParagraphStructure>
      <NamedElement NameReference="Pg1FooterP2" />
    </ParagraphStructure>
  </StoryFragment>

</StoryFragments>

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: