다음을 통해 공유


PropertyInformation.Name 속성

정의

구성 특성에 해당하는 개체의 이름을 가져옵니다.

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

속성 값

개체의 PropertyInformation 이름입니다.

예제

다음 코드 예제에서는 속성을 사용 하는 방법을 보여 줍니다 LineNumber . 이 코드 예제는 클래스에 제공된 더 큰 예제의 PropertyInformation 일부입니다.

// Display the Name property.
Console.WriteLine("Name: {0}", propertyItem.Name);
' Display the Name property.
Console.WriteLine("Name: {0}", propertyItem.Name)

적용 대상