_PropertyAccessor.StringToBinary Method
Converts a string specified by Value to an array of bytes.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
Function StringToBinary ( _
Value As String _
) As Object
'Usage
Dim instance As _PropertyAccessor
Dim Value As String
Dim returnValue As Object
returnValue = instance.StringToBinary(Value)
[DispIdAttribute()]
Object StringToBinary(
string Value
)
Parameters
Value
Type: System.StringA hexadecimal string value that is to be converted to an array of bytes.
Return Value
Type: System.Object
An Object value that represents an array of bytes returned from the conversion.
Remarks
For more information on type conversion when using the PropertyAccessor object, see Best Practices for Getting and Setting Properties.