Compartilhar via


SignatureLineCollection.Count Propriedade

Definição

Obtém o número de SignatureLine objetos no SignatureLineCollection.

public:
 abstract property int Count { int get(); };
public abstract int Count { get; }
member this.Count : int
Public MustOverride ReadOnly Property Count As Integer

Valor da propriedade

O número de objetos na coleção.

Exemplos

O exemplo de código a seguir exibe a contagem de linhas de assinatura no modo de exibição atual.

SignatureLineCollection mySignatures = 
   this.CurrentView.SignatureLines;
MessageBox.Show("There are " + mySignatures.Count.ToString() + 
   " signature lines in the current view.");
Dim mySignatures As SignatureLineCollection = _
   Me.CurrentView.SignatureLines
MessageBox.Show("There are " & mySignatures.Count.ToString() & _
   " signature lines in the current view.")

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