다음을 통해 공유


VCManagedResourceCompilerTool.OutputFileName 속성

이 .resx 파일이 적용되는 최종 출력 파일의 이름을 가져옵니다.

네임스페이스:  Microsoft.VisualStudio.VCProjectEngine
어셈블리:  Microsoft.VisualStudio.VCProjectEngine(Microsoft.VisualStudio.VCProjectEngine.dll)

구문

‘선언
ReadOnly Property OutputFileName As String
string OutputFileName { get; }
property String^ OutputFileName {
    String^ get ();
}
abstract OutputFileName : string with get
function get OutputFileName () : String

속성 값

형식: String
최종 출력 파일의 이름을 나타내는 문자열입니다.

설명

참고 방법: 프로젝트 모델 확장성에 대한 예제 코드 컴파일 컴파일 및이 예제를 실행 하는 방법에 대 한 내용은.

예제

' Add a reference to Microsoft.VisualStudio.VCProjectEngine and have a 
' Visual C++ project loaded before running this example.
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine
Public Module Module1
    Sub Test()
        Dim prj As VCProject
        Dim cfgs, tools As IVCCollection
        Dim cfg As VCFileConfiguration
        Dim tool As VCManagedResourceCompilerTool
        Dim file As VCFile
        prj = DTE.Solution.Projects.Item(1).Object
        file = prj.Files("Form1.resx")
        cfgs = file.FileConfigurations
        cfg = cfgs.Item(1)
        tool = cfg.Tool
        MsgBox("Output file name: " & tool.OutputFileName)
    End Sub
End Module

.NET Framework 보안

참고 항목

참조

VCManagedResourceCompilerTool 인터페이스

Microsoft.VisualStudio.VCProjectEngine 네임스페이스