DirectiveCollection.TryGetValues(String, IReadOnlyList<String>) メソッド

定義

指定されたディレクティブに指定された値を取得します。 戻り値は、指定したディレクティブ名が存在するかどうかを示します。

public:
 bool TryGetValues(System::String ^ name, [Runtime::InteropServices::Out] System::Collections::Generic::IReadOnlyList<System::String ^> ^ % values);
public bool TryGetValues (string name, out System.Collections.Generic.IReadOnlyList<string>? values);
member this.TryGetValues : string * IReadOnlyList -> bool
Public Function TryGetValues (name As String, ByRef values As IReadOnlyList(Of String)) As Boolean

パラメーター

name
String

ディレクティブの名前。

values
IReadOnlyList<String>

指定したディレクティブに指定された値。

戻り値

true 指定した名前の ディレクティブが解析された場合は 。それ以外の場合は false

適用対象