Syntax
Visual Basic (Declaration) | |
---|
<System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline this type of method across NGen image boundaries")>
Public Overloads Function ConvertTo( _
ByVal value As System.Object, _
ByVal destinationType As System.Type _
) As System.Object |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As WebSchedulerDateTimeConverter
Dim value As System.Object
Dim destinationType As System.Type
Dim value As System.Object
value = instance.ConvertTo(value, destinationType) |
C# | |
---|
[System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline this type of method across NGen image boundaries")]
public System.object ConvertTo(
System.object value,
System.Type destinationType
) |
Delphi | |
---|
public function ConvertTo(
value: System.TObject;
destinationType: System.Type
): System.TObject; |
JScript | |
---|
System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline this type of method across NGen image boundaries")
public function ConvertTo(
value : System.Object,
destinationType : System.Type
) : System.Object; |
Managed Extensions for C++ | |
---|
[System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline this type of method across NGen image boundaries")]
public: System.Object* ConvertTo(
System.Object* value,
System.Type* destinationType
) |
C++/CLI | |
---|
[System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline this type of method across NGen image boundaries")]
public:
System.Object^ ConvertTo(
System.Object^ value,
System.Type^ destinationType
) |
Parameters
- value
- destinationType
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also