Partager via


Constructeur EdmStringTypeReference (IEdmPrimitiveType, Boolean, Boolean, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, String)

Crée une instance de la classe EdmStringTypeReference.

Espace de noms :  Microsoft.Data.Edm.Library
Assembly :  Microsoft.Data.Edm (en Microsoft.Data.Edm.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    definition As IEdmPrimitiveType, _
    isNullable As Boolean, _
    isMaxMaxLength As Boolean, _
    maxLength As Nullable(Of Integer), _
    isFixedLength As Nullable(Of Boolean), _
    isUnicode As Nullable(Of Boolean), _
    collation As String _
)
'Utilisation
Dim definition As IEdmPrimitiveType
Dim isNullable As Boolean
Dim isMaxMaxLength As Boolean
Dim maxLength As Nullable(Of Integer)
Dim isFixedLength As Nullable(Of Boolean)
Dim isUnicode As Nullable(Of Boolean)
Dim collation As String

Dim instance As New EdmStringTypeReference(definition, _
    isNullable, isMaxMaxLength, maxLength, _
    isFixedLength, isUnicode, collation)
public EdmStringTypeReference(
    IEdmPrimitiveType definition,
    bool isNullable,
    bool isMaxMaxLength,
    Nullable<int> maxLength,
    Nullable<bool> isFixedLength,
    Nullable<bool> isUnicode,
    string collation
)
public:
EdmStringTypeReference(
    IEdmPrimitiveType^ definition, 
    bool isNullable, 
    bool isMaxMaxLength, 
    Nullable<int> maxLength, 
    Nullable<bool> isFixedLength, 
    Nullable<bool> isUnicode, 
    String^ collation
)
new : 
        definition:IEdmPrimitiveType * 
        isNullable:bool * 
        isMaxMaxLength:bool * 
        maxLength:Nullable<int> * 
        isFixedLength:Nullable<bool> * 
        isUnicode:Nullable<bool> * 
        collation:string -> EdmStringTypeReference
public function EdmStringTypeReference(
    definition : IEdmPrimitiveType, 
    isNullable : boolean, 
    isMaxMaxLength : boolean, 
    maxLength : Nullable<int>, 
    isFixedLength : Nullable<boolean>, 
    isUnicode : Nullable<boolean>, 
    collation : String
)

Paramètres

  • isNullable
    Type : System.Boolean
    Indique si le type peut être nullable ou pas.
  • isMaxMaxLength
    Type : System.Boolean
    Indique si la longueur maximale est la valeur maximale autorisée.
  • collation
    Type : System.String
    Indique la chaîne de classement à utiliser par le magasin sous-jacent.

Voir aussi

Référence

EdmStringTypeReference Classe

Surcharge EdmStringTypeReference

Espace de noms Microsoft.Data.Edm.Library