Partager via


MemberDefinition(String, String, PSMemberTypes, String) Constructor

Definition

Initializes a new instance of the MemberDefinition class.

public:
 MemberDefinition(System::String ^ typeName, System::String ^ name, System::Management::Automation::PSMemberTypes memberType, System::String ^ definition);
public MemberDefinition (string typeName, string name, System.Management.Automation.PSMemberTypes memberType, string definition);
new Microsoft.PowerShell.Commands.MemberDefinition : string * string * System.Management.Automation.PSMemberTypes * string -> Microsoft.PowerShell.Commands.MemberDefinition
Public Sub New (typeName As String, name As String, memberType As PSMemberTypes, definition As String)

Parameters

typeName
String
name
String
memberType
PSMemberTypes
definition
String

Applies to