Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CodePropertyData Constructor (String, MethodInfo)

CodePropertyData Constructor (String, MethodInfo)

Initializes a new instance of the CodePropertyData class as a read-only property. Introduced in Windows PowerShell 3.0.


Namespace: System.Management.Automation.Runspaces
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim name As String
Dim getMethod As MethodInfo

Dim instance As New CodePropertyData(name, getMethod)

public CodePropertyData (
	string name,
	MethodInfo getMethod
)
public CodePropertyData (
	String name, 
	MethodInfo getMethod
)
public function CodePropertyData (
	name : String, 
	getMethod : MethodInfo
)

Parameters

name

The name of the code property.

getMethod

The reference information of the code property's getter method.

 

Target Platforms


Show:
© 2015 Microsoft