語言

CodedIndex.HasConstant(EntityHandle) 方法

定義

計算指定句柄的 HasConstant 編碼索引。

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

參數

傳回

例外狀況

這種把柄類型出乎意料。

適用於