GetObject Method (key)

DTF API

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++ F#
public T GetObject<T>(
	string key
)
Public Function GetObject(Of T) ( 
	key As String
) As T
public:
generic<typename T>
T GetObject(
	String^ key
)
member GetObject : 
        key : string -> 'T 
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.11.1.2318)