Partilhar via


ForEachObjectCommand.MemberName Property

Definition

Gets or sets the property or method name.

public:
 property System::String ^ MemberName { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ MemberName { Platform::String ^ get(); void set(Platform::String ^ value); };
public string MemberName { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="PropertyAndMethodSet", Position=0)]
[System.Management.Automation.ValidateNotNullOrEmpty]
[System.Management.Automation.ValidateTrustedData]
public string MemberName { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="PropertyAndMethodSet", Position=0)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string MemberName { get; set; }
member this.MemberName : string with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="PropertyAndMethodSet", Position=0)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
[<System.Management.Automation.ValidateTrustedData>]
member this.MemberName : string with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="PropertyAndMethodSet", Position=0)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.MemberName : string with get, set
Public Property MemberName As String

Property Value

Attributes

Applies to