Nexus.Client.Games.Gamebryo.Tools.TESsnip.GroupRecord.AddRecord C# (CSharp) Méthode

AddRecord() public méthode

Adds the given sub-record to the record.
public AddRecord ( BaseRecord br ) : void
br BaseRecord The record to add.
Résultat void
		public override void AddRecord(BaseRecord br)
		{
			Rec r = br as Rec;
			if (r == null) throw new TESParserException("Record to add was not of the correct type." +
				   Environment.NewLine + "Groups can only hold records or other groups.");
			Records.Add(r);
		}