コード例 #1
0
 /// <summary>
 /// Create a new KeywordType object.
 /// </summary>
 /// <param name="keywordTypeId">Initial value of the KeywordTypeId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static KeywordType CreateKeywordType(global::System.Int32 keywordTypeId, global::System.String name)
 {
     KeywordType keywordType = new KeywordType();
     keywordType.KeywordTypeId = keywordTypeId;
     keywordType.Name = name;
     return keywordType;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the KeywordTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToKeywordTypes(KeywordType keywordType)
 {
     base.AddObject("KeywordTypes", keywordType);
 }