DirectiveCollection.TryGetValues(String, IReadOnlyList<String>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the values specified for a given directive. A return value indicates whether the specified directive name was present.
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
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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.