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
- Source:
- XmlDictionaryReader.cs
Converts a node's content to a string.
public:
 override System::String ^ ReadContentAsString();public override string ReadContentAsString();override this.ReadContentAsString : unit -> stringPublic Overrides Function ReadContentAsString () As StringReturns
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
- 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 -> stringProtected Function ReadContentAsString (maxStringContentLength As Integer) As StringParameters
- 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
- 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 -> stringPublic Overridable Function ReadContentAsString (strings As String(), ByRef index As Integer) As StringParameters
- 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
- 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 -> stringPublic Overridable Function ReadContentAsString (strings As XmlDictionaryString(), ByRef index As Integer) As StringParameters
- 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.