Item Property (key)

DTF API

Copy image CopyHover image
Deployment Tools Foundation Item Property (key)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerCustomActionDataItem[([( String])])
Gets or sets a data value with a specified key.
Declaration Syntax
C# Visual Basic Visual C++ F#
public string this[
	string key
] { get; set; }
Public Default Property Item ( 
	key As String
) As String
	Get
	Set
public:
virtual property String^ default[String^ key] {
	String^ get (String^ key) sealed;
	void set (String^ key, String^ value) sealed;
}
abstract Item : string with get, set
override Item : string with get, set
Parameters
key (String)
Case-sensitive data key.
Property Value
Exceptions
Exception Condition
ArgumentException the key does not consist solely of letters, numbers, and the period, underscore, and space characters.

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)