DirectiveRegistry.GetDirectives(Version, String) Method

Definition

Returns a collection of directives based on the frameworkVersion parameter and the extension parameter.

public:
 static System::Collections::ObjectModel::ReadOnlyCollection<Type ^> ^ GetDirectives(Version ^ frameworkVersion, System::String ^ extension);
public static System.Collections.ObjectModel.ReadOnlyCollection<Type> GetDirectives (Version frameworkVersion, string extension);
static member GetDirectives : Version * string -> System.Collections.ObjectModel.ReadOnlyCollection<Type>
Public Shared Function GetDirectives (frameworkVersion As Version, extension As String) As ReadOnlyCollection(Of Type)

Parameters

frameworkVersion
Version

The .NET Framework version.

extension
String

The file name extension.

Returns

A read only collection.

Applies to