共用方式為


IDiaEnumInjectedSources::get_Count

擷取插入來源的數目。

語法

HRESULT get_Count ( 
   LONG* pRetVal
);

參數

pRetVal

[out] 傳回插入來源的數目。

傳回值

如果成功,則會傳回 S_OK;否則,會傳回錯誤碼。

另請參閱