

Deployment Tools Foundation
GetObject<(Of <(<'T>)>)> Method (key)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► CustomActionData ► GetObject<(Of <<'(T>)>>)(String)
Gets a value from the data collection, using XML serialization to load the object from a string.

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 )

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

- key (String)
- Case-sensitive data key.

T

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)