Bewerken

Delen via


XmlDictionaryReader.ReadString Method

Definition

Reads the contents of the current node into a string.

Overloads

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.

ReadString(Int32)

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

ReadString()

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