Xceed .NET Libraries Documentation
Xceed.SSH.Core Assembly / Xceed.SSH.Core Namespace / SSHString Structure / GetSize Method / GetSize(String,Encoding) Method


    GetSize(String,Encoding) Method
    Syntax
    'Declaration
     
    Public Overloads Shared Function GetSize( _
       ByVal data As String, _
       ByVal encoding As Encoding _
    ) As Integer
     
    'Usage
     
    Dim data As String
    Dim encoding As Encoding
    Dim value As Integer
     
    value = SSHString.GetSize(data, encoding)

    Parameters

    data
    encoding
    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