RelatedDocDataCollection.Item Property
Gets the document data object at the specified index.
Namespace: Microsoft.VisualStudio.Shell.Design.Serialization
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
‘선언
Public Default Property Item ( _
index As Integer _
) As DocData
Get
Set
‘사용 방법
Dim instance As RelatedDocDataCollection
Dim index As Integer
Dim value As DocData
value = instance(index)
instance(index) = value
public DocData this[
int index
] { get; set; }
public:
property DocData^ default[int index] {
DocData^ get (int index);
void set (int index, DocData^ value);
}
member Item : DocData with get, set
JScript does not support indexed properties.
Parameters
- index
Type: System.Int32
Index offset of this collection.
Property Value
Type: Microsoft.VisualStudio.Shell.Design.Serialization.DocData
The document data object at the specified index.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
RelatedDocDataCollection Class