| Visual Basic (Declaration) | |
|---|---|
<ObsoleteAttribute("Should use the version that takes a ISystemContext (pass null if ISystemContext is not available).")> Public Overloads Shared Function ExtractValueFromVariant(Of T)( _ ByVal value As Object, _ ByVal throwOnError As Boolean _ ) As Object | |
| C# | |
|---|---|
[ObsoleteAttribute("Should use the version that takes a ISystemContext (pass null if ISystemContext is not available).")] public static object ExtractValueFromVariant<T>( object value, bool throwOnError ) | |
Parameters
- value
- throwOnError
Type Parameters
- T
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family