Aracılığıyla paylaş


SubordinateFileHelper.LockSubordinateDocument Yöntem (IServiceProvider, DocData, UInt32)

Oluşturur ve verilen dosya için görünmez bir düzenleyici döndürür.

Bu API, CLS ile uyumlu değildir. 

Ad alanı:  Microsoft.VisualStudio.Modeling.Shell
Derleme:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll içinde)

Sözdizimi

'Bildirim
<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
)

Parametreler

  • childItemId
    Tür: System.UInt32
    Madde kimlik tanımlama alt dosyası.

Dönüş Değeri

Tür: Microsoft.VisualStudio.Modeling.Shell.SubordinateDocumentLockHolder

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

SubordinateFileHelper Sınıf

LockSubordinateDocument Fazla Yük

Microsoft.VisualStudio.Modeling.Shell Ad Alanı