コード例 #1
0
 /// <devdoc>
 ///    <para>Adds a <see cref='Microsoft.CodeDom.CodeTypeMember'/> with the specified value to the
 ///    <see cref='Microsoft.CodeDom.CodeTypeMemberCollection'/> .</para>
 /// </devdoc>
 public int Add(CodeTypeMember value)
 {
     return(List.Add(value));
 }
コード例 #2
0
 /// <devdoc>
 ///    <para> Removes a specific <see cref='Microsoft.CodeDom.CodeTypeMember'/> from the
 ///    <see cref='Microsoft.CodeDom.CodeTypeMemberCollection'/> .</para>
 /// </devdoc>
 public void Remove(CodeTypeMember value)
 {
     List.Remove(value);
 }
コード例 #3
0
 /// <devdoc>
 ///    <para>Returns the index of a <see cref='Microsoft.CodeDom.CodeTypeMember'/> in
 ///       the <see cref='Microsoft.CodeDom.CodeTypeMemberCollection'/> .</para>
 /// </devdoc>
 public int IndexOf(CodeTypeMember value)
 {
     return(List.IndexOf(value));
 }
コード例 #4
0
 /// <devdoc>
 /// <para>Inserts a <see cref='Microsoft.CodeDom.CodeTypeMember'/> into the <see cref='Microsoft.CodeDom.CodeTypeMemberCollection'/> at the specified index.</para>
 /// </devdoc>
 public void Insert(int index, CodeTypeMember value)
 {
     List.Insert(index, value);
 }
コード例 #5
0
 /// <devdoc>
 /// <para>Gets a value indicating whether the
 ///    <see cref='Microsoft.CodeDom.CodeTypeMemberCollection'/> contains the specified <see cref='Microsoft.CodeDom.CodeTypeMember'/>.</para>
 /// </devdoc>
 public bool Contains(CodeTypeMember value)
 {
     return(List.Contains(value));
 }