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: IDesignerSerializationManagerA 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
- 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.