Delen via


PSObjectExtensions.Populate Method

Definition

Overloads

Populate(IAzureTokenCache, PSObject)

Populate a token cache from a PSObject

Populate(IDictionary<String,String>, String, PSObject)

Populate a generic string dictionary from a PSObject

Populate(IList<String>, String, PSObject)

Populate a list from a proprty of the given PSObject

Populate(IAzureTokenCache, PSObject)

Populate a token cache from a PSObject

public static void Populate (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureTokenCache cache, System.Management.Automation.PSObject other);
static member Populate : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureTokenCache * System.Management.Automation.PSObject -> unit
<Extension()>
Public Sub Populate (cache As IAzureTokenCache, other As PSObject)

Parameters

cache
IAzureTokenCache

The cache to populate

other
PSObject

The object to populate from

Applies to

Populate(IDictionary<String,String>, String, PSObject)

Populate a generic string dictionary from a PSObject

public static void Populate (this System.Collections.Generic.IDictionary<string,string> dictionary, string name, System.Management.Automation.PSObject other);
static member Populate : System.Collections.Generic.IDictionary<string, string> * string * System.Management.Automation.PSObject -> unit
<Extension()>
Public Sub Populate (dictionary As IDictionary(Of String, String), name As String, other As PSObject)

Parameters

dictionary
IDictionary<String,String>

The dictionary to populate

name
String

The name of the property containing the dictionary

other
PSObject

The PSObject to populate from

Applies to

Populate(IList<String>, String, PSObject)

Populate a list from a proprty of the given PSObject

public static void Populate (this System.Collections.Generic.IList<string> list, string name, System.Management.Automation.PSObject other);
static member Populate : System.Collections.Generic.IList<string> * string * System.Management.Automation.PSObject -> unit
<Extension()>
Public Sub Populate (list As IList(Of String), name As String, other As PSObject)

Parameters

list
IList<String>

The list to populate

name
String

The name of the property contiaing the list

other
PSObject

The PSObject to populate the list from

Applies to