Programmatically Retrieve npe rau daim ntawv qiv

Cov cai hauv qab no snippet yog siv retrieve daim ntawv txog kev qiv ntaub ntawv.

SPWeb _web = SPContext.Current.Web;


SPListCollection ListColl = _web.Teev;


foreach (SPList _lst nyob rau hauv ListColl)

{


Yog hais tias (_lst.BaseTemplate == SPListTemplateType.DocumentLibrary)

{

LibList.Items.Add(_lst.Npe);

}

}

BaseTemplateType yuav siv los xyuas seb daim ntawv.

sau ntawv cia

Koj siv tau qhov cim npe no HTML

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>