Aracılığıyla paylaş


DocumentBase.RemoveDocumentInformation Yöntem

Meta veri özellikleri ve yorumlar gibi bir belgeden kaldırır.

Ad alanı:  Microsoft.Office.Tools.Word
Derleme:  Microsoft.Office.Tools.Word.v4.0.Utilities (Microsoft.Office.Tools.Word.v4.0.Utilities.dll içinde)

Sözdizimi

'Bildirim
Public Sub RemoveDocumentInformation ( _
    removeDocInfoType As WdRemoveDocInfoType _
)
public void RemoveDocumentInformation(
    WdRemoveDocInfoType removeDocInfoType
)

Parametreler

Örnekler

Aşağıdaki kod örneği geçerli belgenin belge özelliklerini kaldırır.Bu örneği kullanmak için çalıştırın ThisDocument bir belge düzeyi projesinde sınıf.

Private Sub RemoveDocumentProperties()
    Me.RemoveDocumentInformation( _
        Word.WdRemoveDocInfoType.wdRDIDocumentProperties)
End Sub
private void RemoveDocumentProperties()
{
    this.RemoveDocumentInformation(
        Word.WdRemoveDocInfoType.wdRDIDocumentProperties);
}

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

DocumentBase Sınıf

Microsoft.Office.Tools.Word Ad Alanı