ServiceConstructor<TService>.Clone 方法
复制当前实例。
命名空间: Microsoft.Data.Schema
程序集: Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
Public Overridable Function Clone As ServiceConstructor(Of TService)
public virtual ServiceConstructor<TService> Clone()
public:
virtual ServiceConstructor<TService>^ Clone()
abstract Clone : unit -> ServiceConstructor<'TService>
override Clone : unit -> ServiceConstructor<'TService>
public function Clone() : ServiceConstructor<TService>
返回值
类型:Microsoft.Data.Schema.ServiceConstructor<TService>
当前实例的副本,它使用从 Object 继承的 MemberwiseClone 方法创建。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。