XmlDictionaryReader.ReadString Method
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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om