다음을 통해 공유


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

‘선언
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
)

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