StringToByteArray Method
See Also 
SourceCode.SmartObjects.Management.SmartobjectCriteria.Utilities Namespace > Utility Class : StringToByteArray Method



str

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Shared Function StringToByteArray( _
   ByVal str As String _
) As Byte()
Visual Basic (Usage) Copy Code
Dim str As String
Dim value() As Byte
 
value = Utility.StringToByteArray(str)
C#  
public static byte[] StringToByteArray( 
   string str
)
C++/CLI  
public:
static array<byte>^ StringToByteArray( 
   String^ str
) 

Parameters

str

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