Επεξεργασία

Κοινή χρήση μέσω


XmlDictionaryReader.ReadContentAsString Method

Definition

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

strings is null.

-or-

An entry in strings is null.

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

strings is null.

-or-

An entry in strings is null.

Applies to