語言

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

參數

傳回

例外狀況

這種把柄類型出乎意料。

適用於