Compartilhar via


SignatureCollection.Item[Int32] Propriedade

Definição

Obtém uma referência ao objeto especificado Signature do SignatureCollection objeto.

public:
 abstract property Microsoft::Office::InfoPath::Signature ^ default[int] { Microsoft::Office::InfoPath::Signature ^ get(int index); };
public abstract Microsoft.Office.InfoPath.Signature this[int index] { get; }
member this.Item(int) : Microsoft.Office.InfoPath.Signature
Default Public MustOverride ReadOnly Property Item(index As Integer) As Signature

Parâmetros

index
Int32

O índice baseado em zero para o objeto Signature retornar. O valor especificado deve ser um número de 0 para o valor da propriedade da Count coleção menos 1.

Valor da propriedade

O Signature objeto que corresponde ao valor especificado index .

Exceções

O valor do índice está fora de alcance.

Exemplos

O exemplo a seguir retorna o primeiro objeto Signature no objeto SignatureCollection para o primeiro conjunto de dados instáveis no formulário ou, se apenas todo o formulário puder ser assinado, retornará o primeiro objeto Signature para todo o formulário.

Signature firstSignature = 
   this.SignedDataBlocks[0].Signatures[0];
Dim firstSignature As Signature  = 
   Me.SignedDataBlocks(0).Signatures(0)

Comentários

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.

Aplica-se a