共用方式為


ICacheable.GetCachedSize Method

Returns the approximate size in bytes of the object as it will be stored in the cache of the command. The command uses this value to determine how much data it is currently caching to determine when it should start streaming.

This value does not have to be an exact size of the object but can be a quick estimate.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Function GetCachedSize As Integer
int GetCachedSize()
int GetCachedSize()
abstract GetCachedSize : unit -> int
function GetCachedSize() : int

Return Value

Type: System.Int32
The approximate size in bytes of the object as it will be stored in the cache of the command.

.NET Framework Security

See Also

Reference

ICacheable Interface

Microsoft.TeamFoundation.Framework.Server Namespace