SqlChars.MaxLength Property
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.
Gets the maximum length in two-byte characters of the value the internal buffer can hold.
public:
property long MaxLength { long get(); };
public long MaxLength { get; }
member this.MaxLength : int64
Public ReadOnly Property MaxLength As Long
Property Value
An Int64 value representing the maximum length in two-byte characters of the value of the internal buffer.
Returns -1 for a stream-wrapped SqlChars.
Remarks
The default value is 0.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.