Condividi tramite


LocalizationProviderService.CreateProvider Method

Creates a provider for the given serialization manager.

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Dichiarazione
Public MustOverride Function CreateProvider ( _
    manager As IDesignerSerializationManager _
) As IDesignerSerializationProvider
'Utilizzo
Dim instance As LocalizationProviderService
Dim manager As IDesignerSerializationManager
Dim returnValue As IDesignerSerializationProvider

returnValue = instance.CreateProvider(manager)
public abstract IDesignerSerializationProvider CreateProvider(
    IDesignerSerializationManager manager
)
public:
virtual IDesignerSerializationProvider^ CreateProvider(
    IDesignerSerializationManager^ manager
) abstract
abstract CreateProvider : 
        manager:IDesignerSerializationManager -> IDesignerSerializationProvider 
public abstract function CreateProvider(
    manager : IDesignerSerializationManager
) : IDesignerSerializationProvider

Parameters

Return Value

Type: System.ComponentModel.Design.Serialization.IDesignerSerializationProvider
IDesignerSerializationProvider.

Remarks

After creation the designer will add the provider to the list of serializers. If a service does not exist or returns null, the designer loader may create its own resource adapter.

.NET Framework Security

See Also

Reference

LocalizationProviderService Class

LocalizationProviderService Members

Microsoft.VisualStudio.Shell.Design.Serialization Namespace