VisualStyleRenderer.GetFilename(FilenameProperty) 메서드

정의

현재 비주얼 스타일 요소에 대해 지정된 파일 이름 속성 값을 반환합니다.

public:
 System::String ^ GetFilename(System::Windows::Forms::VisualStyles::FilenameProperty prop);
public string GetFilename (System.Windows.Forms.VisualStyles.FilenameProperty prop);
member this.GetFilename : System.Windows.Forms.VisualStyles.FilenameProperty -> string
Public Function GetFilename (prop As FilenameProperty) As String

매개 변수

prop
FilenameProperty

현재 비주얼 스타일 요소에 대해 검색할 속성 값을 지정하는 FilenameProperty 값 중 하나입니다.

반환

String

현재 비주얼 스타일 요소의 prop 매개 변수에 의해 지정된 속성의 값이 들어 있는 String입니다.

예외

propFilenameProperty 값 중 하나가 아닌 경우

설명

비주얼 스타일은 다양한 크기와 해상도로 특정 요소를 그리는 데 사용되는 이미지 파일의 이름을 지정할 수 있습니다. 이러한 파일 이름은 값으로 FilenameProperty 캡슐화됩니다.

적용 대상