Share via


MetadataBuilder.AddLocalVariable 메서드

정의

지역 변수 디버그 정보를 추가합니다.

public:
 System::Reflection::Metadata::LocalVariableHandle AddLocalVariable(System::Reflection::Metadata::LocalVariableAttributes attributes, int index, System::Reflection::Metadata::StringHandle name);
public System.Reflection.Metadata.LocalVariableHandle AddLocalVariable (System.Reflection.Metadata.LocalVariableAttributes attributes, int index, System.Reflection.Metadata.StringHandle name);
member this.AddLocalVariable : System.Reflection.Metadata.LocalVariableAttributes * int * System.Reflection.Metadata.StringHandle -> System.Reflection.Metadata.LocalVariableHandle
Public Function AddLocalVariable (attributes As LocalVariableAttributes, index As Integer, name As StringHandle) As LocalVariableHandle

매개 변수

attributes
LocalVariableAttributes

지역 변수 특성입니다.

index
Int32

로컬 시그니처의 지역 변수에 대한 0부터 시작하는 인덱스입니다.

name
StringHandle

변수의 이름입니다.

반환

추가된 지역 변수에 대한 핸들입니다.

예외

적용 대상