示例#1
0
 /// <summary>
 /// An example of how to use a content builder to create content metadat with a single record type that can
 /// occur zero to n times.
 /// </summary>
 /// <returns>The content metadata.</returns>
 public IMContent CreateContentRepeating()
 {
     return(factory.ContentBuilder("Content")
            .Add(
                factory.Record(
                    "Rec1",
                    factory.String("A"),
                    factory.String("B")),
                0,
                -1)
            .Build());
 }