共用方式為


DataUsage.BytesReceived 屬性

定義

注意

dataUsage可能會在Windows 8.1之後變更或無法使用版本。 請改用 NetworkUsage

取得值,指出連接在特定時段內收到的位元組數目。

public:
 property unsigned long long BytesReceived { unsigned long long get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("IDataUsage may be altered or unavailable for releases after Windows 8.1. Instead, use INetworkUsage.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
uint64_t BytesReceived();
/// [get: Windows.Foundation.Metadata.Deprecated("IDataUsage may be altered or unavailable for releases after Windows 8.1. Instead, use INetworkUsage.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
uint64_t BytesReceived();
public ulong BytesReceived { [Windows.Foundation.Metadata.Deprecated("IDataUsage may be altered or unavailable for releases after Windows 8.1. Instead, use INetworkUsage.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; }
public ulong BytesReceived { [Windows.Foundation.Metadata.Deprecated("IDataUsage may be altered or unavailable for releases after Windows 8.1. Instead, use INetworkUsage.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; }
var uInt64 = dataUsage.bytesReceived;
Public ReadOnly Property BytesReceived As ULong

屬性值

UInt64

unsigned long long

uint64_t

收到的位元組數目。

屬性

適用於