Compartir a través de


VCAssemblyReference.SubType (Propiedad)

Obtiene o establece el subtipo del archivo como se entiende por los diseñadores.

Espacio de nombres:  Microsoft.VisualStudio.VCProjectEngine
Ensamblado:  Microsoft.VisualStudio.VCProjectEngine (en Microsoft.VisualStudio.VCProjectEngine.dll)

Sintaxis

'Declaración
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)

Valor de propiedad

Tipo: System.String
Subtipo de archivo.

Ejemplos

' 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

Seguridad de .NET Framework

Vea también

Referencia

VCAssemblyReference Interfaz

Microsoft.VisualStudio.VCProjectEngine (Espacio de nombres)