IXmlCharacterData.SubstringData(UInt32, UInt32) Method

Definition

Retrieves a substring of the full string from the specified range.

public:
 Platform::String ^ SubstringData(unsigned int offset, unsigned int count);
winrt::hstring SubstringData(uint32_t const& offset, uint32_t const& count);
public string SubstringData(uint offset, uint count);
function substringData(offset, count)
Public Function SubstringData (offset As UInteger, count As UInteger) As String

Parameters

offset
UInt32

unsigned int

uint32_t

Specifies the offset, in characters, from the beginning of the string. An offset of zero indicates copying from the start of the data.

count
UInt32

unsigned int

uint32_t

Specifies the number of characters to retrieve from the specified offset.

Returns

String

Platform::String

winrt::hstring

The returned substring.

Applies to