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 Object to a String.
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Protected MustOverride Function ConvertValueToString ( _
value As Object _
) As String
protected abstract string ConvertValueToString(
Object value
)
protected:
virtual String^ ConvertValueToString(
Object^ value
) abstract
abstract ConvertValueToString :
value:Object -> string
protected abstract function ConvertValueToString(
value : Object
) : String
Parameters
- value
Type: System.Object
The object to convert.
Return Value
Type: System.String
A string that represents value.
Remarks
This method is called by the get 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