ParameterBuilder.SetCustomAttributeCore 方法

定義

當在衍生類別中覆寫時,會在該組合語言上設定自訂屬性。

protected:
 abstract void SetCustomAttributeCore(System::Reflection::ConstructorInfo ^ con, ReadOnlySpan<System::Byte> binaryAttribute);
protected abstract void SetCustomAttributeCore(System.Reflection.ConstructorInfo con, ReadOnlySpan<byte> binaryAttribute);
abstract member SetCustomAttributeCore : System.Reflection.ConstructorInfo * ReadOnlySpan<byte> -> unit
Protected MustOverride Sub SetCustomAttributeCore (con As ConstructorInfo, binaryAttribute As ReadOnlySpan(Of Byte))

參數

con
ConstructorInfo

自訂屬性的建構子。

binaryAttribute
ReadOnlySpan<Byte>

ReadOnlySpan<T> A 是代表屬性的位元組。

適用於