หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Retrieves the number of type parameters that are associated with the generic field.
Syntax
Parameters
pcParams
[in, out] Number of type parameters.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
If List<T>, this method returns 1, and, if List<T1,T2>, this method returns 2. This method returns 0 if there are no type parameters.