Share via


StringToXmlDataProviderConverter.Convert Method (String, Object, CultureInfo)

Converts an XML string to an XmlDataProvider.

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

Syntax

'Declaration
Protected Overrides Function Convert ( _
    xmlBlob As String, _
    parameter As Object, _
    culture As CultureInfo _
) As XmlDataProvider
protected override XmlDataProvider Convert(
    string xmlBlob,
    Object parameter,
    CultureInfo culture
)
protected:
virtual XmlDataProvider^ Convert(
    String^ xmlBlob, 
    Object^ parameter, 
    CultureInfo^ culture
) override
abstract Convert : 
        xmlBlob:string * 
        parameter:Object * 
        culture:CultureInfo -> XmlDataProvider  
override Convert : 
        xmlBlob:string * 
        parameter:Object * 
        culture:CultureInfo -> XmlDataProvider
protected override function Convert(
    xmlBlob : String, 
    parameter : Object, 
    culture : CultureInfo
) : XmlDataProvider

Parameters

  • parameter
    Type: System.Object

    The conversion parameter. Unused.

Return Value

Type: System.Windows.Data.XmlDataProvider
An XmlDataProvider. If the string is nulla null reference (Nothing in Visual Basic) or empty, or the XML is not valid, the data provider is empty.

.NET Framework Security

See Also

Reference

StringToXmlDataProviderConverter Class

Convert Overload

Microsoft.VisualStudio.PlatformUI Namespace