GraphNodeIdConverter.ConvertFrom 方法 (ITypeDescriptorContext, CultureInfo, Object)

从一种类型的转换到 GraphNodeId。

命名空间:  Microsoft.VisualStudio.GraphModel
程序集:  Microsoft.VisualStudio.GraphModel(在 Microsoft.VisualStudio.GraphModel.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
)
public:
virtual Object^ ConvertFrom(
    ITypeDescriptorContext^ context, 
    CultureInfo^ culture, 
    Object^ value
) override
abstract ConvertFrom : 
        context:ITypeDescriptorContext * 
        culture:CultureInfo * 
        value:Object -> Object  
override ConvertFrom : 
        context:ITypeDescriptorContext * 
        culture:CultureInfo * 
        value:Object -> Object
public override function ConvertFrom(
    context : ITypeDescriptorContext, 
    culture : CultureInfo, 
    value : Object
) : Object

参数

  • context
    类型:ITypeDescriptorContext

    类型转换的类型描述符上下文。

  • culture
    类型:CultureInfo

    转换的区域性。

  • value
    类型:Object

    要转换的值。

返回值

类型:Object
从特定值的转换 GraphNodeId。

.NET Framework 安全性

请参阅

参考

GraphNodeIdConverter 类

ConvertFrom 重载

Microsoft.VisualStudio.GraphModel 命名空间