MarkLogic XCC/.Net Library |

# Content.Size Method

The size of the content, in bytes, of the content. If the size cannot be determined at the time this method is invoked (if the content is streaming for example), then -1 is returned.

[Visual Basic]
Function Size() As Long
[C#]
long Size();

#### Return Value

The size of the content, in bytes.

#### See Also

Content Interface | Marklogic.Xcc Namespace