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
- manager
Type: System.ComponentModel.Design.Serialization.IDesignerSerializationManager
A serialization manager.
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
- 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.
See Also
Reference
LocalizationProviderService Class