Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
When overridden in a derived class, attempts to convert the specified String to an Object.
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Protected MustOverride Function ConvertStringToValue ( _
value As String _
) As Object
protected abstract Object ConvertStringToValue(
string value
)
protected:
virtual Object^ ConvertStringToValue(
String^ value
) abstract
abstract ConvertStringToValue :
value:string -> Object
protected abstract function ConvertStringToValue(
value : String
) : Object
Parameters
- value
Type: System.String
The string to convert.
Return Value
Type: System.Object
An object that represents value.
Remarks
This method is called by the set method of the StringValue property.
A typical implementation could use the TypeConverter to do the conversion.
This method should not catch exceptions, it should propagate them.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.PropertyEditing Namespace