IAppHostPropertySchemaCollection::Properti Item

Mendapatkan Antarmuka IAppHostPropertySchema dengan indeks yang diminta atau nama skema properti dalam koleksi.

Sintaks

[propget, id(DISPID_VALUE)] HRESULT Item(  
   [in] VARIANT cIndex,  
   [out,  
   retval] IAppHostPropertySchema** ppPropertySchema  
);  

Parameter

cIndex
VARIANT yang menentukanAntarmuka IAppHostPropertySchema untuk diambil dari koleksi. VARIANT Jika jenis bilangan bulat, ini adalah indeks berbasis nol ke koleksi. VARIANT Jika jenis string, ini adalah indeks string yang mewakili namaAntarmuka IAppHostPropertySchema untuk diambil.

ppProperty
BerisiAntarmuka IAppHostPropertySchema pada yang diminta cIndex.

Tampilkan Nilai

Sebuah HRESULT. Nilai yang mungkin termasuk, tetapi tidak terbatas pada, yang ada dalam tabel berikut.

Nilai Deskripsi
S_OK Menunjukkan bahwa operasi berhasil.
ERROR_INVALID_INDEX Menunjukkan bahwa skema properti yang diminta tidak ditemukan.

Persyaratan

Jenis Deskripsi
Klien - IIS 7.0 di Windows Vista
- IIS 7.5 di Windows 7
- IIS 8.0 di Windows 8
- IIS 10.0 pada Windows 10
Server - IIS 7.0 di Windows Server 2008
- IIS 7.5 di Windows Server 2008 R2
- IIS 8.0 di Windows Server 2012
- IIS 8.5 di Windows Server 2012 R2
- IIS 10.0 di Windows Server 2016
Produk - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
- IIS Express 7.5, IIS Express 8.0, IIS Express 10.0
Header Ahadmin.h

Lihat juga

Antarmuka IAppHostPropertySchemaCollection
Antarmuka IAppHostPropertySchema