CodePropertyData Constructors
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.
Overloads
CodePropertyData(String, MethodInfo) |
Initialize the CodePropertyData as a read only property. |
CodePropertyData(String, MethodInfo, MethodInfo) |
CodePropertyData constructor. |
CodePropertyData(String, MethodInfo)
Initialize the CodePropertyData as a read only property.
public:
CodePropertyData(System::String ^ name, System::Reflection::MethodInfo ^ getMethod);
public CodePropertyData (string name, System.Reflection.MethodInfo getMethod);
new System.Management.Automation.Runspaces.CodePropertyData : string * System.Reflection.MethodInfo -> System.Management.Automation.Runspaces.CodePropertyData
Public Sub New (name As String, getMethod As MethodInfo)
Parameters
- name
- String
- getMethod
- MethodInfo
Applies to
CodePropertyData(String, MethodInfo, MethodInfo)
CodePropertyData constructor.
public:
CodePropertyData(System::String ^ name, System::Reflection::MethodInfo ^ getMethod, System::Reflection::MethodInfo ^ setMethod);
public CodePropertyData (string name, System.Reflection.MethodInfo getMethod, System.Reflection.MethodInfo setMethod);
new System.Management.Automation.Runspaces.CodePropertyData : string * System.Reflection.MethodInfo * System.Reflection.MethodInfo -> System.Management.Automation.Runspaces.CodePropertyData
Public Sub New (name As String, getMethod As MethodInfo, setMethod As MethodInfo)
Parameters
- name
- String
- getMethod
- MethodInfo
- setMethod
- MethodInfo