StringToXmlDataProviderConverter.Convert(String, Object, CultureInfo) 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 an XML string to an XmlDataProvider.
protected:
override System::Windows::Data::XmlDataProvider ^ Convert(System::String ^ xmlBlob, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
protected override System.Windows.Data.XmlDataProvider Convert (string xmlBlob, object parameter, System.Globalization.CultureInfo culture);
override this.Convert : string * obj * System.Globalization.CultureInfo -> System.Windows.Data.XmlDataProvider
Protected Overrides Function Convert (xmlBlob As String, parameter As Object, culture As CultureInfo) As XmlDataProvider
Parameters
- xmlBlob
- String
The XML string.
- parameter
- Object
The conversion parameter. Unused.
- culture
- CultureInfo
The culture.
Returns
An XmlDataProvider. If the string is null
or empty, or the XML is not valid, the data provider is empty.