 | SourceCallNumberProcessUnknownTag Method |
Namespace: Patagames.GedcomNetSdk.PrimitivesAssembly: Patagames.Gedcom.Net.Sdk (in Patagames.Gedcom.Net.Sdk.dll) Version: 1.0.8
Syntaxprotected override ProcessTagResult ProcessUnknownTag(
int no,
string tagPath,
int level,
string tag,
string value,
out Context context
)
Protected Overrides Function ProcessUnknownTag (
no As Integer,
tagPath As String,
level As Integer,
tag As String,
value As String,
<OutAttribute> ByRef context As Context
) As ProcessTagResult
abstract ProcessUnknownTag :
no : int *
tagPath : string *
level : int *
tag : string *
value : string *
context : Context byref -> ProcessTagResult
override ProcessUnknownTag :
no : int *
tagPath : string *
level : int *
tag : string *
value : string *
context : Context byref -> ProcessTagResult Parameters
- no Int32
- The number of the line in the GEDSOM transmission file.
- tagPath String
- The parent tag of the tag being processed.
- level Int32
- The nesting level of the processed tag.
- tag String
- Tag to be processed.
- value String
- The value contained under the tag being processed.
- context Context
- Context for replacement. Must not be null if ReplaceContext is returned.
Return Value
ProcessTagResultReplaceContext if the tag was successfully processed.
Error otherwise; the GEDCOM mechanism will throw an
UnknownTagException in this case.
Remarks
When an unknown non-custom(beginning with an underscore) tag is encountered, this method checks whether the tag is PHRASE and,
if so, creates an extended version of the class (
SourceCallNumberEx), and then the parsing continues.
Otherwise, an error will occur and the engine will throw an
UnknownTagException exception.
See Also