Edit

Share via


DirectiveCollection.TryGetValues(String, IReadOnlyList<String>) Method

Definition

Gets the values specified for a given directive. A return value indicates whether the specified directive name was present.

C#
public bool TryGetValues(string name, out System.Collections.Generic.IReadOnlyList<string>? values);

Parameters

name
String

The name of the directive.

values
IReadOnlyList<String>

The values provided for the specified directive.

Returns

true if a directive with the specified name was parsed; otherwise, false.

Applies to