|Submitted||Feb 17, 2012|
|Modified||Aug 19, 2020|
|Applies To||ArcGIS for Desktop|
|Server Platform||Windows 7|
|Client Platform||Windows 7|
|Status||Not in Current Product Plan|
The VB.NET and C# sample code in "How to use the IGeoTransformationOperationSet methods" shows the SpatialReferenceEnvironment class being instantiated with the New keyword instead of Activator.CreateInstance; this leads to cast exception.
We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.
Use Activator.CreateInstance() approach as done in the other C# method/<a href="http://VB.NET" target="_blank">VB.NET</a> procedure in that same SDK help document.