File Path Type ConverterConvert From(IType Descriptor Context, Culture Info, Object) Method
Converts the given object to the type of this converter, using the specified context and culture information.
Definition
Namespace: Sandcastle.Core.Design
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.3.29.0
An Object that represents the converted value.
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.3.29.0
C#
public override Object ConvertFrom(
ITypeDescriptorContext context,
CultureInfo culture,
Object value
)VB
Public Overrides Function ConvertFrom (
context As ITypeDescriptorContext,
culture As CultureInfo,
value As Object
) As ObjectC++
public:
virtual Object^ ConvertFrom(
ITypeDescriptorContext^ context,
CultureInfo^ culture,
Object^ value
) overrideF#
abstract ConvertFrom :
context : ITypeDescriptorContext *
culture : CultureInfo *
value : Object -> Object
override ConvertFrom :
context : ITypeDescriptorContext *
culture : CultureInfo *
value : Object -> Object Parameters
- context ITypeDescriptorContext
- An ITypeDescriptorContext that provides a format context.
- culture CultureInfo
- The CultureInfo to use as the current culture.
- value Object
- The Object to convert.
Return Value
ObjectAn Object that represents the converted value.
Exceptions
| NotSupportedException | The conversion cannot be performed. |