VCAssemblyReference.SubType 속성
디자이너에서 인식되는 파일의 하위 형식을 가져오거나 설정합니다.
네임스페이스: Microsoft.VisualStudio.VCProjectEngine
어셈블리: Microsoft.VisualStudio.VCProjectEngine(Microsoft.VisualStudio.VCProjectEngine.dll)
구문
‘선언
Property SubType As String
string SubType { get; set; }
property String^ SubType {
String^ get ();
void set (String^ value);
}
abstract SubType : string with get, set
function get SubType () : String
function set SubType (value : String)
속성 값
형식: String
파일의 하위 형식입니다.
예제
' add reference to Microsoft.VisualStudio.VCProjectEngine.
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine
Public Module Module1
Sub Test()
Dim file As VCFile
Dim col As IVCCollection
Dim idx As Integer
Dim prj As VCProject
prj = DTE.Solution.Projects.Item(1).Object
col = prj.Files
For idx = 1 To col.Count
file = col.Item(idx)
MsgBox("Sub-type: " & file.SubType)
Next
End Sub
End Module
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.