IsReadOnly

Metadata.IsReadOnly property

检查集合是否是只读的。

public bool IsReadOnly { get; }

也可以看看