PartialCollection.CollectionSize Property
[PartialCollection.CollectionSize is no longer available for use as of Windows Server 2012 Essentials.] Gets the total number of items in the complete collection.
Namespace: Microsoft.WindowsServerSolutions.Mobile.Web
Assembly: MobileWeb (in MobileWeb.dll)
Usage
'Usage
Dim instance As PartialCollection(Of T)
Dim value As Integer
value = instance.CollectionSize
Syntax
'Declaration
<DataMemberAttribute> _
Public Property CollectionSize As Integer
[DataMemberAttribute]
public int CollectionSize { get; }
[DataMemberAttribute]
public:
property int CollectionSize {
int get ();
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */
public int get_CollectionSize ()
CompilerGeneratedAttribute
public function get CollectionSize () : int
Property Value
Returns Int32. Total number of items in the complete collection.
Remarks
If this number is less than zero, the collection is not available and the CollectionChunk field should be ignored.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2008 R2 x64, Windows 7 x64, Windows Server 2008 x64, Windows Vista x64
See Also
Reference
PartialCollection Generic Class
PartialCollection Members
Microsoft.WindowsServerSolutions.Mobile.Web Namespace
Copyright © 2012 by Microsoft Corporation. All rights reserved.