Partager via


PSPropertyAdapter.GetProperty(Object, String) Method

Definition

Returns a specific property, or null if the base object does not contain the given property.

public:
 abstract System::Management::Automation::PSAdaptedProperty ^ GetProperty(System::Object ^ baseObject, System::String ^ propertyName);
public abstract System.Management.Automation.PSAdaptedProperty GetProperty (object baseObject, string propertyName);
abstract member GetProperty : obj * string -> System.Management.Automation.PSAdaptedProperty
Public MustOverride Function GetProperty (baseObject As Object, propertyName As String) As PSAdaptedProperty

Parameters

baseObject
Object
propertyName
String

Returns

Applies to