DrawingCollection.Item[Int32] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the Drawing at the specified zero-based index.
public:
property System::Windows::Media::Drawing ^ default[int] { System::Windows::Media::Drawing ^ get(int index); void set(int index, System::Windows::Media::Drawing ^ value); };
public System.Windows.Media.Drawing this[int index] { get; set; }
member this.Item(int) : System.Windows.Media.Drawing with get, set
Default Public Property Item(index As Integer) As Drawing
Parameters
Property Value
The Drawing at the specified index.
Implements
Exceptions
value
is null
.
index
is not a valid index in the DrawingCollection.
Remarks
Unlike typical implementations of IList<T>.Item[], this implementation throws an ArgumentException if you attempt to insert a null (Nothing) reference.
Applies to
See also
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.