A Sandcastle Documented Class Library

# DataType String Method

Returns a string DataType with the specified length.

Namespace: Dundas.BI.Data.Metadata
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public static DataType String(
    	int? maxLength
    )

    Public Shared Function String (
    	maxLength As Integer?
    ) As DataType

    public:
    static DataType String(
    	Nullable<int> maxLength
    )

    static member String :
            maxLength : Nullable<int> -> DataType

#### Parameters

maxLength
  Type: System
  Nullable
  Int32
  The maximum string length.

#### Return Value

Type: DataType
The data type.
See Also

#### Reference

DataType Structure
Dundas.BI.Data.Metadata Namespace