XmlDictionaryReader.ReadContentAsString 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.
Converts a node's content to a string.
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. |
- 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
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, 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 |
UWP | 10.0 |
- 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
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, 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 |
UWP | 10.0 |
- 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
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, 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 |
UWP | 10.0 |
- 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
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, 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 |
UWP | 10.0 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: