PSPropertyAdapter.GetProperty(Object, String) 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.
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