共用方式為


ISolutionService.GetPropertyValuesAsync Method

Definition

Gets the values of the properties for the solution.

public:
 System::Threading::Tasks::ValueTask<System::Collections::Generic::IReadOnlyList<System::String ^> ^> GetPropertyValuesAsync(System::Collections::Generic::IReadOnlyList<int> ^ propertyIds, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.ValueTask<System.Collections.Generic.IReadOnlyList<string>> GetPropertyValuesAsync (System.Collections.Generic.IReadOnlyList<int> propertyIds, System.Threading.CancellationToken cancellationToken);
public System.Threading.Tasks.ValueTask<System.Collections.Generic.IReadOnlyList<string?>> GetPropertyValuesAsync (System.Collections.Generic.IReadOnlyList<int> propertyIds, System.Threading.CancellationToken cancellationToken);
abstract member GetPropertyValuesAsync : System.Collections.Generic.IReadOnlyList<int> * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<System.Collections.Generic.IReadOnlyList<string>>
Public Function GetPropertyValuesAsync (propertyIds As IReadOnlyList(Of Integer), cancellationToken As CancellationToken) As ValueTask(Of IReadOnlyList(Of String))

Parameters

propertyIds
IReadOnlyList<Int32>

Array of unique integer identifiers of solution properties.

cancellationToken
CancellationToken

A cancellation token.

Returns

An array of property values that are of type string or a null array element for any unsupported properties, including when a property value was not of the type string.

Applies to