Partager via


RegistryProvider.NewProperty(String, String, String, Object) Method

Definition

Creates a new property on the specified item

public:
 virtual void NewProperty(System::String ^ path, System::String ^ propertyName, System::String ^ type, System::Object ^ value);
public:
 void NewProperty(Platform::String ^ path, Platform::String ^ propertyName, Platform::String ^ type, Platform::Object ^ value);
void NewProperty(std::wstring const & path, std::wstring const & propertyName, std::wstring const & type, winrt::Windows::Foundation::IInspectable const & value);
public void NewProperty (string path, string propertyName, string type, object value);
override this.NewProperty : string * string * string * obj -> unit
Public Sub NewProperty (path As String, propertyName As String, type As String, value As Object)

Parameters

path
String

The path to the item on which the new property should be created.

propertyName
String

The name of the property that should be created.

type
String

The type of the property that should be created.

value
Object

The new value of the property that should be created.

Implements

Applies to