PSNoteProperty(String, Object) Constructor
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.
Initializes a new instance of the PSNoteProperty class.
public:
PSNoteProperty(System::String ^ name, System::Object ^ value);
public:
PSNoteProperty(Platform::String ^ name, Platform::Object ^ value);
PSNoteProperty(std::wstring const & name, winrt::Windows::Foundation::IInspectable const & value);
public PSNoteProperty (string name, object value);
new System.Management.Automation.PSNoteProperty : string * obj -> System.Management.Automation.PSNoteProperty
Public Sub New (name As String, value As Object)
Parameters
- name
- String
Name of the property.
- value
- Object
Value of the property.
Exceptions
For an empty or null name.