GraphNodeIdConverter.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)

Converts this to another type. Currently supports strings and any embedded data types.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Overrides Function ConvertTo ( _
    context As ITypeDescriptorContext, _
    culture As CultureInfo, _
    value As Object, _
    destinationType As Type _
) As Object
public override Object ConvertTo(
    ITypeDescriptorContext context,
    CultureInfo culture,
    Object value,
    Type destinationType
)
public:
virtual Object^ ConvertTo(
    ITypeDescriptorContext^ context, 
    CultureInfo^ culture, 
    Object^ value, 
    Type^ destinationType
) override
abstract ConvertTo : 
        context:ITypeDescriptorContext * 
        culture:CultureInfo * 
        value:Object * 
        destinationType:Type -> Object  
override ConvertTo : 
        context:ITypeDescriptorContext * 
        culture:CultureInfo * 
        value:Object * 
        destinationType:Type -> Object
public override function ConvertTo(
    context : ITypeDescriptorContext, 
    culture : CultureInfo, 
    value : Object, 
    destinationType : Type
) : Object

Parameters

  • context
    Type: ITypeDescriptorContext

    The type descriptor context for the conversion.

  • culture
    Type: CultureInfo

    The culture for the conversion.

  • value
    Type: Object

    The value to convert.

  • destinationType
    Type: Type

    The type to convert to.

Return Value

Type: Object
The converted value.

.NET Framework Security

See Also

Reference

GraphNodeIdConverter Class

ConvertTo Overload

Microsoft.VisualStudio.GraphModel Namespace