Vector4Converter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)
Converts the given object to the type of this converter, using the specified context and culture information.
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:
Object ConvertFrom(
ITypeDescriptorContext context,
CultureInfo culture,
Object value
) override
Parameters
- context
Type: ITypeDescriptorContext
The format context. - culture
Type: CultureInfo
The current culture. - value
Type: Object
The object to convert.
Return Value
Type: Object
The converted value.
Exceptions
Exception type | Condition |
---|---|
ArgumentException | Invalid string format. |
Requirements
Namespace: Microsoft.Xna.Framework.Design
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Vector4Converter Class
Vector4Converter Members
Microsoft.Xna.Framework.Design Namespace
Platforms
Windows Phone