Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a new SubordinateDocumentLockHolder.
Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
    serviceProvider As IServiceProvider, _
    parentDocument As DocData, _
    fileName As String, _
    childItemId As UInteger _
)
public SubordinateDocumentLockHolder(
    IServiceProvider serviceProvider,
    DocData parentDocument,
    string fileName,
    uint childItemId
)
public:
SubordinateDocumentLockHolder(
    IServiceProvider^ serviceProvider, 
    DocData^ parentDocument, 
    String^ fileName, 
    unsigned int childItemId
)
new : 
        serviceProvider:IServiceProvider * 
        parentDocument:DocData * 
        fileName:string * 
        childItemId:uint32 -> SubordinateDocumentLockHolder
public function SubordinateDocumentLockHolder(
    serviceProvider : IServiceProvider, 
    parentDocument : DocData, 
    fileName : String, 
    childItemId : uint
)
Parameters
- serviceProvider
 Type: System.IServiceProvider
- parentDocument
 Type: Microsoft.VisualStudio.Modeling.Shell.DocData
- fileName
 Type: System.String
- childItemId
 Type: System.UInt32
.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.