共用方式為


Item.FileLength Property

Length of item, if applicable.

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

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private, PropertyName := "ContentLength")> _
Public Property FileLength As Long
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private, PropertyName = "ContentLength")]
public long FileLength { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Private, PropertyName = L"ContentLength")]
public:
property long long FileLength {
    long long get ();
    void set (long long value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private, PropertyName = "ContentLength")>]
member FileLength : int64 with get, set
function get FileLength () : long 
function set FileLength (value : long)

Property Value

Type: System.Int64
Returns Int64.

.NET Framework Security

See Also

Reference

Item Class

Microsoft.TeamFoundation.VersionControl.Server Namespace