Registers a marking ID.

Namespace: Sgry.Azuki
Assembly: Azuki (in Azuki.dll) Version: 1.7.5.21597

Syntax

C#
public static void Register(
	MarkingInfo info
)
Visual Basic
Public Shared Sub Register ( _
	info As MarkingInfo _
)

Parameters

info
Type: Sgry.Azuki..::..MarkingInfo
The information of the marking.

Remarks

This method registers a marking ID and its information. If specified ID was already registered, existing information will be overwritten.

Note that marking ID '31' is used by built-in URI marker to mark URIs. Although the meaning of ID 31 can be overwritten with this method, doing so is discouraged unless the programmer wants to create and use URI marker by his/her own.

Exceptions

ExceptionCondition
System..::..ArgumentNullException Parameter info is null.
System..::..ArgumentOutOfRangeException ID of parameter info is out of valid range.

See Also