KeyVaultCmdletBase.GetAndWriteObjects<TObject> 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.
Utility function that will continually iterate over the updated KeyVaultObjectFilterOptions until the options NextLink is null, and writes all the retrieved objects.
protected void GetAndWriteObjects<TObject> (Microsoft.Azure.Commands.KeyVault.Models.KeyVaultObjectFilterOptions options, Func<Microsoft.Azure.Commands.KeyVault.Models.KeyVaultObjectFilterOptions,System.Collections.Generic.IEnumerable<TObject>> getObjects);
member this.GetAndWriteObjects : Microsoft.Azure.Commands.KeyVault.Models.KeyVaultObjectFilterOptions * Func<Microsoft.Azure.Commands.KeyVault.Models.KeyVaultObjectFilterOptions, seq<'Object>> -> unit
Protected Sub GetAndWriteObjects(Of TObject) (options As KeyVaultObjectFilterOptions, getObjects As Func(Of KeyVaultObjectFilterOptions, IEnumerable(Of TObject)))
Type Parameters
- TObject
The object type to write.
Parameters
- options
- KeyVaultObjectFilterOptions
The KeyVaultObjectFilterOptions
- getObjects
- Func<KeyVaultObjectFilterOptions,IEnumerable<TObject>>
Function that takes the options and returns a list of objects.