System.ProfileString[String, String] Property

Definition

Returns or sets a value for an entry in the Windows registry under the following subkey: HKEY_CURRENT_USER\Software\Microsoft\Office\version\Word.

public:
 property System::String ^ ProfileString[System::String ^, System::String ^] { System::String ^ get(System::String ^ Section, System::String ^ Key); void set(System::String ^ Section, System::String ^ Key, System::String ^ value); };
public string ProfileString[string Section, string Key] { get; set; }
member this.ProfileString(string * string) : string with get, set
Public Property ProfileString(Section As String, Key As String) As String

Parameters

Section
String

Required String. A subkey below the "HKEY_CURRENT_USER\Software\Microsoft\Office\version \Word" subkey in the Windows registry.

Key
String

Required String. The name of the entry in the subkey specified by Section (for example, "BackgroundPrint" in the Options subkey).

Property Value

Applies to