語言

DirectiveRegistry.GetDirectives(Version, String) 方法

定義

回傳一組基於 frameworkVersion 參數 和參數 extension 的指令。

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)

參數

frameworkVersion
Version

.NET 框架版本。

extension
String

副檔名。

傳回

一個只讀的合集。

適用於