ModelingBindingSourceToolboxItem 建構函式 (SerializationInfo, StreamingContext)
這個型別具有 SecurityCriticalAttribute 屬性,因此只能由 .NET Framework for Silverlight 類別庫使用。如果應用程式程式碼使用這個型別的任何成員,都會擲回 MethodAccessException。
[安全性關鍵]
我們必須提供序列化的 Constuctor
命名空間: Microsoft.VisualStudio.Modeling.Shell
組件: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)
語法
'宣告
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected ModelingBindingSourceToolboxItem(
SerializationInfo info,
StreamingContext context
)
參數
請參閱
參考
ModelingBindingSourceToolboxItem 類別