Compartir a través de


StringToXmlDataProviderConverter.Convert Method (String, Object, CultureInfo)

Converts an XML string to an XmlDataProvider.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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

  • xmlBlob
    Type: String

    The XML string.

  • parameter
    Type: Object

    The conversion parameter. Unused.

  • culture
    Type: CultureInfo

    The culture.

Return Value

Type: 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