IWorkspaceSettingsSourceWriter.SetProperty<T>(String, T) Method
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.
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