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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET