Aracılığıyla paylaş


XmlText.SubstringData(UInt32, UInt32) Method

Definition

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

public:
 virtual Platform::String ^ SubstringData(unsigned int offset, unsigned int count) = SubstringData;
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

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

The number of characters to retrieve from the specified offset.

Returns

String

Platform::String

winrt::hstring

The returned substring.

Implements

M:Windows.Data.Xml.Dom.IXmlCharacterData.SubstringData(System.UInt32,System.UInt32) M:Windows.Data.Xml.Dom.IXmlCharacterData.SubstringData(unsigned int,unsigned int) M:Windows.Data.Xml.Dom.IXmlCharacterData.SubstringData(uint32_t,uint32_t)

Applies to