CommaDelimitedStringCollection.SetReadOnly 方法
定义
将集合对象设置为只读。Sets the collection object to read-only.
public:
void SetReadOnly();
public void SetReadOnly ();
member this.SetReadOnly : unit -> unit
Public Sub SetReadOnly ()
注解
若要确定是否 CommaDelimitedStringCollection 可以修改该集合,请调用 IsReadOnly 方法。To determine whether the CommaDelimitedStringCollection collection can be modified, call the IsReadOnly method.