EdmCoreModel.GetString Method (Boolean, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, String, Boolean)
Gets a reference to a string type.
Namespace: Microsoft.Data.Edm.Library
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Function GetString ( _
isUnbounded As Boolean, _
maxLength As Nullable(Of Integer), _
isFixedLength As Nullable(Of Boolean), _
isUnicode As Nullable(Of Boolean), _
collation As String, _
isNullable As Boolean _
) As IEdmStringTypeReference
'Usage
Dim instance As EdmCoreModel
Dim isUnbounded 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 isNullable As Boolean
Dim returnValue As IEdmStringTypeReference
returnValue = instance.GetString(isUnbounded, _
maxLength, isFixedLength, isUnicode, _
collation, isNullable)
public IEdmStringTypeReference GetString(
bool isUnbounded,
Nullable<int> maxLength,
Nullable<bool> isFixedLength,
Nullable<bool> isUnicode,
string collation,
bool isNullable
)
public:
IEdmStringTypeReference^ GetString(
bool isUnbounded,
Nullable<int> maxLength,
Nullable<bool> isFixedLength,
Nullable<bool> isUnicode,
String^ collation,
bool isNullable
)
member GetString :
isUnbounded:bool *
maxLength:Nullable<int> *
isFixedLength:Nullable<bool> *
isUnicode:Nullable<bool> *
collation:string *
isNullable:bool -> IEdmStringTypeReference
public function GetString(
isUnbounded : boolean,
maxLength : Nullable<int>,
isFixedLength : Nullable<boolean>,
isUnicode : Nullable<boolean>,
collation : String,
isNullable : boolean
) : IEdmStringTypeReference
Parameters
- isUnbounded
Type: System.Boolean
true to indicate that the maximum length is the maximum allowed value; otherwise, false.
- maxLength
Type: System.Nullable<Int32>
The maximum length of a value of this type.
- isFixedLength
Type: System.Nullable<Boolean>
true to indicate that the length can vary; otherwise, false.
- isUnicode
Type: System.Nullable<Boolean>
true to indicate that the string type supports Unicode encoding; otherwise, false.
- collation
Type: System.String
The collation of the string type.
- isNullable
Type: System.Boolean
true to indicate that the referenced type should be nullable; otherwise, false.
Return Value
Type: Microsoft.Data.Edm.IEdmStringTypeReference
A string type reference.