Share via


IWorkspaceSettingsSourceWriter.SetProperty<T>(String, T) Method

Definition

Persist a value in workspace settings.

public:
generic <typename T>
 void SetProperty(System::String ^ key, T value);
public:
generic <typename T>
 void SetProperty(Platform::String ^ key, T value);
template <typename T>
 void SetProperty(std::wstring const & key, T value);
public void SetProperty<T> (string key, T value);
abstract member SetProperty : string * 'T -> unit
Public Sub SetProperty(Of T) (key As String, value As T)

Type Parameters

T

>type of the value

Parameters

key
String

the name of this entry

value
T

the value to persist

Applies to