◆ InstantiateSystemObjectOfType()

static object InstantiateSystemObjectOfType ( this object  potentialSourceData)
static
Parameters
potentialSourceData
Returns
a new instance of an object that is the same type as the object passed in, and if possible, containing the same data.