CompatibleFrameworkCollection CompatibleFrameworkCollection CompatibleFrameworkCollection CompatibleFrameworkCollection Class


Represents a collection of versions of the .NET Framework that an application prefers to run on.

public ref class CompatibleFrameworkCollection sealed : System::Collections::IEnumerable
public sealed class CompatibleFrameworkCollection : System.Collections.IEnumerable
type CompatibleFrameworkCollection = class
    interface IEnumerable
Public NotInheritable Class CompatibleFrameworkCollection
Implements IEnumerable


If an application can run on multiple versions of the .NET Framework, the versions should be listed in priority order from most preferred to least preferred. If a version of the .NET Framework listed in the CompatibleFrameworkCollection class is installed on the end-user computer, the application can install and run.


Count Count Count Count

Gets the number of .NET Framework versions listed in the CompatibleFrameworkCollection collection.

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets a version of the .NET Framework that an application prefers to run on.


Add(CompatibleFramework) Add(CompatibleFramework) Add(CompatibleFramework) Add(CompatibleFramework)

Adds a framework to the CompatibleFramework class.

Clear() Clear() Clear() Clear()

Clears the collection.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Gets the enumerator for the collection.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Extension Methods

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to