Поделиться через


VCCustomBuildRule.AddEnumProperty - метод

Adds an enumeration property to the custom build rule with the given name.

Пространство имен:  Microsoft.VisualStudio.VCProjectEngine
Сборка:  Microsoft.VisualStudio.VCProjectEngine (в Microsoft.VisualStudio.VCProjectEngine.dll)

Синтаксис

'Декларация
Function AddEnumProperty ( _
    Name As String _
) As VCRuntimeEnumProperty
'Применение
Dim instance As VCCustomBuildRule
Dim Name As String
Dim returnValue As VCRuntimeEnumProperty

returnValue = instance.AddEnumProperty(Name)
VCRuntimeEnumProperty AddEnumProperty(
    string Name
)
VCRuntimeEnumProperty^ AddEnumProperty(
    [InAttribute] String^ Name
)
function AddEnumProperty(
    Name : String
) : VCRuntimeEnumProperty

Параметры

  • Name
    Тип: System.String

    The name of the enumeration property.

Возвращаемое значение

Тип: Microsoft.VisualStudio.VCProjectEngine.VCRuntimeEnumProperty

A VCRuntimeEnumProperty object.

Заметки

AddEnumProperty returns the new enumeration property.

Разрешения

  • Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Using Libraries from Partially Trusted Code.

См. также

Ссылки

VCCustomBuildRule Интерфейс

VCCustomBuildRule - члены

Microsoft.VisualStudio.VCProjectEngine - пространство имен