Finds a contained data object with a given tag.
Namespace:
CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Public Function Find( _
ByVal nTag As Integer, _
ByVal fRecurse As Boolean _
) As CardDataObject
This language is not supported or no code example is available.
public CardDataObject Find(
int nTag,
bool fRecurse
)
This language is not supported or no code example is available.
public:
CardDataObject^ Find(
int nTag,
bool fRecurse
)
This language is not supported or no code example is available.
Parameters
- nTag
-
Type: int
Complete tag to find.
- fRecurse
-
Type: bool
If true, then any contained data objects are checked.
Return Value
Type: CardDataObjectIf the sought data object was found, then it is wrapped with a new instance of this class and returned to the caller. If the data object was not found, then null is returned.
Exception type | Condition |
---|---|
Thrown when the requested operation is invalid. |
Calling this method implies that this data object is a constructed data object that contains other data objects. If it is not constructed, then an InvalidOperationException will be thrown.