Share via


CodedIndex.HasCustomAttribute(EntityHandle) 方法

定义

计算指定句柄的 HasCustomAttribute 编码索引。

public:
 static int HasCustomAttribute(System::Reflection::Metadata::EntityHandle handle);
public static int HasCustomAttribute (System.Reflection.Metadata.EntityHandle handle);
static member HasCustomAttribute : System.Reflection.Metadata.EntityHandle -> int
Public Shared Function HasCustomAttribute (handle As EntityHandle) As Integer

参数

返回

例外

句柄类型意外。

适用于