Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic

C#
Visual Basic

Azuki 1.7 Documentation
Marking..::..Register Method
Marking Class See Also Send Feedback

Registers a marking ID.

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

# 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

Exception | Condition
--- | ---
System..::..ArgumentNullException | Parameter info is null.
System..::..ArgumentOutOfRangeException | ID of parameter info is out of valid range.

# See Also

Marking Class
Marking..::..Marking Members
Sgry.Azuki Namespace
Marking.Unregister method