UserContextTypeConverter.ConvertFrom 方法 (ITypeDescriptorContext, CultureInfo, Object)
這個方法不會使用 Visual Studio 的 SDK。將指定的值物件轉換成的說明內容物件藉由指定之格式內容。
命名空間: Microsoft.VisualStudio.Modeling.Design
組件: Microsoft.VisualStudio.Modeling.Sdk.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 中)
語法
'宣告
Public Overrides Function ConvertFrom ( _
context As ITypeDescriptorContext, _
culture As CultureInfo, _
value As Object _
) As Object
public override Object ConvertFrom(
ITypeDescriptorContext context,
CultureInfo culture,
Object value
)
參數
- context
型別:System.ComponentModel.ITypeDescriptorContext
格式內容。
- culture
型別:System.Globalization.CultureInfo
目前的文化特性的 null 或文化特性資訊。
- value
型別:System.Object
要進行轉換的物件。
傳回值
型別:System.Object
轉換的值。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。