AdoDotNetParameter.SetTypeImpl 方法
嘗試剖析字串型別轉換成 DbType 列舉值會 Enum.Parse ,而且,如果失敗則假設 DbType.Object 為正確的 DbType。
命名空間: Microsoft.VisualStudio.Data.AdoDotNet
組件: Microsoft.VisualStudio.Data (在 Microsoft.VisualStudio.Data.dll 中)
語法
'宣告
Protected Overrides Sub SetTypeImpl ( _
value As String _
)
protected override void SetTypeImpl(
string value
)
protected:
virtual void SetTypeImpl(
String^ value
) override
abstract SetTypeImpl :
value:string -> unit
override SetTypeImpl :
value:string -> unit
protected override function SetTypeImpl(
value : String
)
參數
- value
型別:System.String
參數資料型別。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。