XmlDictionaryReader.ReadString Method
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.
Reads the contents of the current node into a string.
ReadString(Int32) |
Reads the contents of the current node into a string with a given maximum length. |
ReadString() |
Reads the contents of the current node into a string. |
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
Reads the contents of the current node into a string with a given maximum length.
protected:
System::String ^ ReadString(int maxStringContentLength);
protected string ReadString(int maxStringContentLength);
override this.ReadString : int -> string
Protected Function ReadString (maxStringContentLength As Integer) As String
Parameters
- maxStringContentLength
- Int32
Maximum allowed string length.
Returns
A string that contains the contents of the current node.
Exceptions
Unable to read the contents of the current node.
Maximum allowed string length exceeded.
Applies to
.NET 10 και άλλες εκδόσεις
Προϊόν | Εκδόσεις |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
Reads the contents of the current node into a string.
public:
override System::String ^ ReadString();
public override string ReadString();
override this.ReadString : unit -> string
Public Overrides Function ReadString () As String
Returns
A string that contains the contents of the current node.
Exceptions
Unable to read the contents of the current node.
Maximum allowed string length exceeded.
Applies to
.NET 10 και άλλες εκδόσεις
Προϊόν | Εκδόσεις |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET σχόλια
.NET είναι ένα έργο ανοιχτού κώδικα. Επιλέξτε μια σύνδεση για να παρέχετε σχόλια: