Aracılığıyla paylaş


WorkbookBase.Signatures Özellik

Tanım

Çalışma kitabı için dijital imza koleksiyonunu alır.

public:
 property Microsoft::Office::Core::SignatureSet ^ Signatures { Microsoft::Office::Core::SignatureSet ^ get(); };
public Microsoft.Office.Core.SignatureSet Signatures { get; }
member this.Signatures : Microsoft.Office.Core.SignatureSet
Public ReadOnly Property Signatures As SignatureSet

Özellik Değeri

Çalışma kitabının dijital imzalarını içeren bir Microsoft.Office.Core.SignatureSet koleksiyonu.

Örnekler

Aşağıdaki kod örneği, geçerli çalışma kitabına eklenen imza sayısını alır ve kullanıcıya uygun bir ileti görüntüler.

Bu örnek, belge düzeyinde özelleştirme içindir

private void GetSignatures()
{
    if (this.Signatures.Count == 0)
    {
        MessageBox.Show(
            "There are no signatures that are attached to the " 
            + "current workbook.");
    }
    else
    {
        MessageBox.Show(
            "Number of signatures attached to the current workbook: "
            + this.Signatures.Count.ToString());
    }
}
Private Sub GetSignatures()
    If Me.Signatures.Count = 0 Then
        MessageBox.Show( _
            "There are no signatures that are attached to the " _
            + "current workbook.")
    Else
        MessageBox.Show( _
            "Number of signatures attached to the current workbook: " _
            + Me.Signatures.Count.ToString())
    End If
End Sub

Açıklamalar

Excel çalışma kitaplarını dijital olarak imzalamak ve içindeki diğer imzaları doğrulamak için Microsoft CryptoAPI ve benzersiz bir dijital imza sertifikası gerekir. CryptoAPI, Microsoft Internet Explorer 4.01 veya sonraki bir sürümüyle birlikte yüklenir. Dijital imza sertifikasını bir sertifika yetkilisinden elde edebilirsiniz.

Şunlara uygulanır