SqlCeFunctions.DataLength 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DataLength(Byte[]) |
返回用于表示任何表达式的字节数。 |
DataLength(Nullable<Boolean>) |
返回用于表示任何表达式的字节数。 |
DataLength(Nullable<DateTime>) |
返回用于表示任何表达式的字节数。 |
DataLength(Nullable<Decimal>) |
返回用于表示任何表达式的字节数。 |
DataLength(Nullable<Double>) |
返回用于表示任何表达式的字节数。 |
DataLength(Nullable<Guid>) |
返回用于表示任何表达式的字节数。 |
DataLength(String) |
返回用于表示任何表达式的字节数。 |
DataLength(Byte[])
返回用于表示任何表达式的字节数。
[System.Data.Entity.DbFunction("SqlServerCe", "DATALENGTH")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg")]
public static Nullable<int> DataLength (byte[] arg);
static member DataLength : byte[] -> Nullable<int>
Public Shared Function DataLength (arg As Byte()) As Nullable(Of Integer)
参数
- arg
- Byte[]
要检查其长度的值。
返回
输入值中的字节数。
- 属性
适用于
DataLength(Nullable<Boolean>)
返回用于表示任何表达式的字节数。
[System.Data.Entity.DbFunction("SqlServerCe", "DATALENGTH")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg")]
public static Nullable<int> DataLength (Nullable<bool> arg);
static member DataLength : Nullable<bool> -> Nullable<int>
Public Shared Function DataLength (arg As Nullable(Of Boolean)) As Nullable(Of Integer)
参数
返回
输入值中的字节数。
- 属性
适用于
DataLength(Nullable<DateTime>)
返回用于表示任何表达式的字节数。
[System.Data.Entity.DbFunction("SqlServerCe", "DATALENGTH")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg")]
public static Nullable<int> DataLength (Nullable<DateTime> arg);
static member DataLength : Nullable<DateTime> -> Nullable<int>
Public Shared Function DataLength (arg As Nullable(Of DateTime)) As Nullable(Of Integer)
参数
返回
输入值中的字节数。
- 属性
适用于
DataLength(Nullable<Decimal>)
返回用于表示任何表达式的字节数。
[System.Data.Entity.DbFunction("SqlServerCe", "DATALENGTH")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg")]
public static Nullable<int> DataLength (Nullable<decimal> arg);
static member DataLength : Nullable<decimal> -> Nullable<int>
Public Shared Function DataLength (arg As Nullable(Of Decimal)) As Nullable(Of Integer)
参数
返回
输入值中的字节数。
- 属性
适用于
DataLength(Nullable<Double>)
返回用于表示任何表达式的字节数。
[System.Data.Entity.DbFunction("SqlServerCe", "DATALENGTH")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg")]
public static Nullable<int> DataLength (Nullable<double> arg);
static member DataLength : Nullable<double> -> Nullable<int>
Public Shared Function DataLength (arg As Nullable(Of Double)) As Nullable(Of Integer)
参数
返回
输入值中的字节数。
- 属性
适用于
DataLength(Nullable<Guid>)
返回用于表示任何表达式的字节数。
[System.Data.Entity.DbFunction("SqlServerCe", "DATALENGTH")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg")]
public static Nullable<int> DataLength (Nullable<Guid> arg);
static member DataLength : Nullable<Guid> -> Nullable<int>
Public Shared Function DataLength (arg As Nullable(Of Guid)) As Nullable(Of Integer)
参数
返回
输入值中的字节数。
- 属性
适用于
DataLength(String)
返回用于表示任何表达式的字节数。
[System.Data.Entity.DbFunction("SqlServerCe", "DATALENGTH")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg")]
public static Nullable<int> DataLength (string arg);
static member DataLength : string -> Nullable<int>
Public Shared Function DataLength (arg As String) As Nullable(Of Integer)
参数
- arg
- String
要检查其数据长度的值。
返回
输入值中的字节数。
- 属性