Queries the signature provider add-in for various details.

Note
Signature providers are implemented exclusively in custom COM add-ins and cannot be implemented in Microsoft Visual Basic for Applications (VBA).

Syntax

expression.GetProviderDetail(sigprovdet)

expression An expression that returns a SignatureProvider object.

Parameters

Name Required/Optional Data Type Description
sigprovdet Required SignatureProviderDetail Contains an enumerated value representing the type of information to query the add-in for.

Return Value
Variant

Remarks

The SignatureProvider object is used exclusively in custom signature provider add-ins. This method is used to query the add-in for three pieces of information:

Example

The following example, written in C#, shows the implementation of the GetProviderDetail method in a custom signature provider project.

C#
 public object GetProviderDetail(SignatureProviderDetail sigProvDetail) { switch (sigProvDetail) { case Microsoft.Office.Core.SignatureProviderDetail.sigprovdetHashAlgorithm: return this.HashAlgorithmIdentifier; case Microsoft.Office.Core.SignatureProviderDetail.sigprovdetUIOnly: return false; case Microsoft.Office.Core.SignatureProviderDetail.sigprovdetUrl: return this.ProviderUrl; default: return null; } } 

See also: