XmlDictionaryReader.ReadContentAsString 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.
Converts a node's content to a string.
Overloads
ReadContentAsString() |
Converts a node's content to a string. |
ReadContentAsString(Int32) |
Converts a node's content to a string. |
ReadContentAsString(String[], Int32) |
Converts a node's content to a string. |
ReadContentAsString(XmlDictionaryString[], Int32) |
Converts a node's content to a string. |
ReadContentAsString()
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
Converts a node's content to a string.
public:
override System::String ^ ReadContentAsString();
public override string ReadContentAsString ();
override this.ReadContentAsString : unit -> string
Public Overrides Function ReadContentAsString () As String
Returns
The node content in a string representation.
Remarks
The string returned by this read operation is limited by the MaxStringContentLength quota
Applies to
ReadContentAsString(Int32)
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
Converts a node's content to a string.
protected:
System::String ^ ReadContentAsString(int maxStringContentLength);
protected string ReadContentAsString (int maxStringContentLength);
override this.ReadContentAsString : int -> string
Protected Function ReadContentAsString (maxStringContentLength As Integer) As String
Parameters
- maxStringContentLength
- Int32
The maximum string length.
Returns
Node content in string representation.
Remarks
The string returned by this read operation is limited by the MaxStringContentLength quota.
Applies to
ReadContentAsString(String[], Int32)
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
Converts a node's content to a string.
public:
virtual System::String ^ ReadContentAsString(cli::array <System::String ^> ^ strings, [Runtime::InteropServices::Out] int % index);
public virtual string ReadContentAsString (string[] strings, out int index);
override this.ReadContentAsString : string[] * int -> string
Public Overridable Function ReadContentAsString (strings As String(), ByRef index As Integer) As String
Parameters
- strings
- String[]
The array of strings to match content against.
- index
- Int32
The index of the entry in strings
that matches the content.
Returns
The node content in a string representation.
Exceptions
Applies to
ReadContentAsString(XmlDictionaryString[], Int32)
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
Converts a node's content to a string.
public:
virtual System::String ^ ReadContentAsString(cli::array <System::Xml::XmlDictionaryString ^> ^ strings, [Runtime::InteropServices::Out] int % index);
public virtual string ReadContentAsString (System.Xml.XmlDictionaryString[] strings, out int index);
override this.ReadContentAsString : System.Xml.XmlDictionaryString[] * int -> string
Public Overridable Function ReadContentAsString (strings As XmlDictionaryString(), ByRef index As Integer) As String
Parameters
- strings
- XmlDictionaryString[]
The array of XmlDictionaryString objects to match content against.
- index
- Int32
The index of the entry in strings
that matches the content.
Returns
The node content in a string representation.
Exceptions
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για