SignatureLineCollection.Count Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the number of SignatureLine objects in the SignatureLineCollection.
public:
abstract property int Count { int get(); };
public abstract int Count { get; }
member this.Count : int
Public MustOverride ReadOnly Property Count As Integer
Property Value
The number of objects in the collection.
Examples
The following code example displays the count of signature lines in the current view.
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.")
Remarks
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.