GetType() public static méthode

Returns the name of the meta information.
public static GetType ( string tag ) : int
tag string name to match
Résultat int
Exemple #1
0
 /// <summary>
 /// Constructs a Meta.
 /// </summary>
 /// <param name="tag">the tagname of the meta-information</param>
 /// <param name="content">the content</param>
 public Meta(string tag, string content)
 {
     this.type    = Meta.GetType(tag);
     this.content = new StringBuilder(content);
 }