Compartilhar via


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

'Declaration
Public MustOverride Function CreateProvider ( _
    manager As IDesignerSerializationManager _
) As IDesignerSerializationProvider
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

  • manager
    Type: IDesignerSerializationManager

    A serialization manager.

Return Value

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

Microsoft.VisualStudio.Shell.Design.Serialization Namespace