Freigeben über


SubordinateFileHelper.LockSubordinateDocument-Methode (IServiceProvider, DocData, UInt32)

Erstellt und gibt einen nicht sichtbaren Editor für die angegebene Datei zurück.

Diese API ist nicht CLS-kompatibel. 

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Shared Function LockSubordinateDocument ( _
    serviceProvider As IServiceProvider, _
    parentDocData As DocData, _
    childItemId As UInteger _
) As SubordinateDocumentLockHolder
[CLSCompliantAttribute(false)]
public static SubordinateDocumentLockHolder LockSubordinateDocument(
    IServiceProvider serviceProvider,
    DocData parentDocData,
    uint childItemId
)

Parameter

  • childItemId
    Typ: System.UInt32
    Element-ID, die die untergeordnete Datei identifiziert.

Rückgabewert

Typ: Microsoft.VisualStudio.Modeling.Shell.SubordinateDocumentLockHolder

.NET Framework-Sicherheit

Siehe auch

Referenz

SubordinateFileHelper Klasse

LockSubordinateDocument-Überladung

Microsoft.VisualStudio.Modeling.Shell-Namespace