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
'宣言
Public Sub CheckoutFile ( _
provider As IServiceProvider _
)
'使用
Dim instance As DocData
Dim provider As IServiceProvider
instance.CheckoutFile(provider)
public void CheckoutFile(
IServiceProvider provider
)
public:
void CheckoutFile(
IServiceProvider^ provider
)
public function CheckoutFile(
provider : IServiceProvider
)
Parameters
provider
Type: System.IServiceProviderThe 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.
Permissions
- 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.