你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PSObjectExtensions Class

Definition

public static class PSObjectExtensions
type PSObjectExtensions = class
Public Module PSObjectExtensions
Inheritance
PSObjectExtensions

Methods

GetProperty(PSObject, String)

Return the value of the given property from the given PSObject

GetProperty<T>(PSObject, String)

Return the value of the given property from the given PSObject

HasProperty(PSObject, String)

Determine if a given PSObject has a property with the given name

HasProperty<T>(PSObject, String)

Determine if a given PSObject has a property with the given name and type

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

PopulateExtensions(IExtensibleModel, PSObject)

Populate the model extensions from a PSObject

TryGetProperty(PSObject, String, Object)

Try to return the value of the given property from the given PSObject

TryGetProperty<T>(PSObject, String, T)

Try to return the value of the given property from the given PSObject

Applies to