ADObjectId.GetByteCount method
Returns the number of bytes required to serialize the Active Directory object.
Namespace: Microsoft.Exchange.Data.Directory
Assembly: Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)
Syntax
'Declaration
Public Function GetByteCount ( _
encoding As Encoding _
) As Integer
'Usage
Dim instance As ADObjectId
Dim encoding As Encoding
Dim returnValue As Integer
returnValue = instance.GetByteCount(encoding)
public int GetByteCount(
Encoding encoding
)
Parameters
encoding
Type: System.Text.EncodingThe character encoding to use when serializing the Active Directory object.
Return value
Type: System.Int32
The number of bytes required.