StringToXmlDataProviderConverter.Convert Method (String, Object, CultureInfo)
Converts an XML string to an XmlDataProvider.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.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: 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 nulla null reference (Nothing in Visual Basic) or empty, or the XML is not valid, the data provider is empty.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.