Bagikan melalui


RectangleDConverter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)

Converts the given object to the type of this converter, using the specified context and culture information.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
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

Parameters

  • context
    Type: ITypeDescriptorContext

    An ITypeDescriptorContext that provides a format context.

  • culture
    Type: CultureInfo

    The CultureInfo to use as the current culture.

  • value
    Type: Object

    The Object to convert.

Return Value

Type: Object

.NET Framework Security

See Also

Reference

RectangleDConverter Class

ConvertFrom Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace