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
'宣言
Public MustOverride Function CreateProvider ( _
manager As IDesignerSerializationManager _
) As IDesignerSerializationProvider
public abstract IDesignerSerializationProvider CreateProvider(
IDesignerSerializationManager manager
)
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.