更新 : 2007 年 11 月
コレクションから項目を取得します。
名前空間 : VsWebSite
アセンブリ : VsWebSite.Interop (VsWebSite.Interop.dll 内)
構文
'宣言
Function Item ( _
index As Integer _
) As ProjectItem
'使用
Dim instance As RelatedFiles
Dim index As Integer
Dim returnValue As ProjectItem
returnValue = instance.Item(index)
ProjectItem Item(
int index
)
ProjectItem^ Item(
[InAttribute] int index
)
function Item(
index : int
) : ProjectItem
パラメータ
index
型 : System.Int32コレクション内の項目のインデックス。
戻り値
コレクション内の指定されたインデックス位置にある ProjectItem オブジェクト。
アクセス許可
- 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。