SqlCeFunctions.DataLength Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DataLength(Byte[]) |
Returns the number of bytes used to represent any expression. |
DataLength(Nullable<Boolean>) |
Returns the number of bytes used to represent any expression. |
DataLength(Nullable<DateTime>) |
Returns the number of bytes used to represent any expression. |
DataLength(Nullable<Decimal>) |
Returns the number of bytes used to represent any expression. |
DataLength(Nullable<Double>) |
Returns the number of bytes used to represent any expression. |
DataLength(Nullable<Guid>) |
Returns the number of bytes used to represent any expression. |
DataLength(String) |
Returns the number of bytes used to represent any expression. |
DataLength(Byte[])
Returns the number of bytes used to represent any expression.
[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)
Parameters
- arg
- Byte[]
The value to be examined for length.
Returns
The number of bytes in the input value.
- Attributes
Applies to
DataLength(Nullable<Boolean>)
Returns the number of bytes used to represent any expression.
[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)
Parameters
Returns
The number of bytes in the input value.
- Attributes
Applies to
DataLength(Nullable<DateTime>)
Returns the number of bytes used to represent any expression.
[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)
Parameters
Returns
The number of bytes in the input value.
- Attributes
Applies to
DataLength(Nullable<Decimal>)
Returns the number of bytes used to represent any expression.
[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)
Parameters
Returns
The number of bytes in the input value.
- Attributes
Applies to
DataLength(Nullable<Double>)
Returns the number of bytes used to represent any expression.
[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)
Parameters
Returns
The number of bytes in the input value.
- Attributes
Applies to
DataLength(Nullable<Guid>)
Returns the number of bytes used to represent any expression.
[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)
Parameters
Returns
The number of bytes in the input value.
- Attributes
Applies to
DataLength(String)
Returns the number of bytes used to represent any expression.
[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)
Parameters
- arg
- String
The value to be examined for data length.
Returns
The number of bytes in the input value.
- Attributes
Applies to
Entity Framework