Method DestroyLayer DestroyLayer(int, bool) Declaration void DestroyLayer(int layer, bool destroyImmediate) Parameters Type Name Description int layer bool destroyImmediate