DynamicMethod.Name 속성

정의

동적 메서드의 이름입니다.

public:
 virtual property System::String ^ Name { System::String ^ get(); };
public override string Name { get; }
member this.Name : string
Public Overrides ReadOnly Property Name As String

속성 값

String

메서드의 단순한 이름입니다.

예제

다음 코드 예제에서는 동적 메서드의 이름을 표시합니다. 이 코드 예제는 클래스에 제공된 더 큰 예제의 DynamicMethod 일부입니다.

// Display the name specified when the dynamic method was created.
// Note that the name can be blank.
Console::WriteLine("\r\nName: {0}", hello->Name);
// Display the name specified when the dynamic method was created.
// Note that the name can be blank.
Console.WriteLine("\r\nName: {0}", hello.Name);
' Display the name specified when the dynamic method was created.
' Note that the name can be blank.
Console.WriteLine(vbCrLf & "Name: {0}", hello.Name)

설명

참고

동적 메서드의 이름을 지정하지 않아도 됩니다.

적용 대상