NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ILGenerator.MarkLabel

Defines a label by setting the position where that label is found within the stream.

[Visual Basic]
Overridable Public Sub MarkLabel( _
   ByVal loc As Label _
)
[C#]
public virtual void MarkLabel(
   Label loc
);
[C++]
public: virtual void MarkLabel(
   Label loc
);
[JScript]
public function MarkLabel(
   loc : Label
);

Parameters

loc
The label for which to set an index.

Exceptions

Exception Type Condition
ArgumentException loc represents an invalid index into the label array or if an index for loc has already been defined.

Remarks

A label can not be defined more than once.

See Also

ILGenerator Class | ILGenerator Members | System.Reflection.Emit Namespace