Share via


DocData.CheckoutFile Method

Checks out the doc data file from source code control.

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

Syntax

'Declaration
Public Sub CheckoutFile ( _
    provider As IServiceProvider _
)
public void CheckoutFile(
    IServiceProvider provider
)
public:
void CheckoutFile(
    IServiceProvider^ provider
)
member CheckoutFile : 
        provider:IServiceProvider -> unit
public function CheckoutFile(
    provider : IServiceProvider
)

Parameters

  • provider
    Type: IServiceProvider

    The IServiceProvider interface used for the checkout operation.

Remarks

If you are using DocData objects in conjunction with the DesignerDocDataService, you should use that service's CheckoutFiles method to check out all files as a unit.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Shell.Design.Serialization Namespace