GetObject Method (key)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
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

[Missing <typeparam name="T"/> documentation for "M:Microsoft.Deployment.WindowsInstaller.CustomActionData.GetObject``1(System.String)"]

Parameters
key (String)
Case-sensitive data key.
Return Value
T
Exceptions
Exception Condition
InvalidOperationException The value could not be deserialized.

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