GetObject Method (key)

Microsoft Deployment Tools

Deployment Tools Foundation GetObject<(Of <(T>)>) Method (key)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerCustomActionDataGetObject<(Of <(T>)>)(String)
Gets a value from the data collection, using XML serialization to load the object from a string.
Declaration Syntax
C# Visual Basic Visual C++
public T GetObject<T>(
	string key
)
Public Function GetObject(Of T) ( _
	key As String _
) As T
public:
generic<typename T>
T GetObject(
	String^ key
)
Generic Template Parameters
T
Parameters
key (String)
Case-sensitive data key.
Exceptions
Exception Condition
InvalidOperationException The value could not be deserialized.

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller) Version: 3.0.0.0 (3.5.1623.0)