StringToXmlDataProviderConverter::Convert Method (String^, Object^, CultureInfo^)

 

Converts an XML string to an XmlDataProvider.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

protected:
virtual XmlDataProvider^ Convert(
	String^ xmlBlob,
	Object^ parameter,
	CultureInfo^ culture
) override

Parameters

xmlBlob
Type: System::String^

The XML string.

parameter
Type: System::Object^

The conversion parameter. Unused.

culture
Type: System.Globalization::CultureInfo^

The culture.

Return Value

Type: System.Windows.Data::XmlDataProvider^

An XmlDataProvider. If the string is null or empty, or the XML is not valid, the data provider is empty.

Return to top
Show: