共用方式為


PSMethodInfo.Value Property

Definition

Gets the value of this member. The getter returns the PSMethodInfo itself.

public:
 property System::Object ^ Value { System::Object ^ get(); void set(System::Object ^ value); };
public:
 property Platform::Object ^ Value { Platform::Object ^ get(); void set(Platform::Object ^ value); };
public override sealed object Value { get; set; }
member this.Value : obj with get, set
Public Overrides NotOverridable Property Value As Object

Property Value

Exceptions

When setting the member.

Remarks

This is not the returned value of the method even for Methods with no arguments. The getter returns this (the PSMethodInfo itself). The setter is not supported.

Applies to