C # in a Nutshell, Second Edition

StringToken serializable

System.Reflection.Emit (mscorlib.dll) struct

This class represents the token for a string constant in a module's constant pool. See EventToken for more details on tokens.

public struct StringToken { // Public Instance Properties public int Token {get; } // Public Instance Methods public override bool Equals (object obj ); // overrides ValueType public override int GetHashCode ( ); // overrides ValueType }

Hierarchy

System.Object System.ValueType StringToken

Returned By

ModuleBuilder.GetStringConstant( )

Категории