Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Public Sub New ( _
serviceProvider As IServiceProvider, _
parentDocument As DocData, _
fileName As String, _
childItemId As UInteger _
)
'使用
Dim serviceProvider As IServiceProvider
Dim parentDocument As DocData
Dim fileName As String
Dim childItemId As UInteger
Dim instance As New SubordinateDocumentLockHolder(serviceProvider, _
parentDocument, fileName, childItemId)
public SubordinateDocumentLockHolder(
IServiceProvider serviceProvider,
DocData parentDocument,
string fileName,
uint childItemId
)
public:
SubordinateDocumentLockHolder(
IServiceProvider^ serviceProvider,
DocData^ parentDocument,
String^ fileName,
unsigned int childItemId
)
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
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.
See Also
Reference
SubordinateDocumentLockHolder Class