VCCustomBuildRule.AddBooleanProperty - метод
Adds a Boolean property to the custom build rule with the given name.
Пространство имен: Microsoft.VisualStudio.VCProjectEngine
Сборка: Microsoft.VisualStudio.VCProjectEngine (в Microsoft.VisualStudio.VCProjectEngine.dll)
Синтаксис
'Декларация
Function AddBooleanProperty ( _
Name As String _
) As VCRuntimeBooleanProperty
'Применение
Dim instance As VCCustomBuildRule
Dim Name As String
Dim returnValue As VCRuntimeBooleanProperty
returnValue = instance.AddBooleanProperty(Name)
VCRuntimeBooleanProperty AddBooleanProperty(
string Name
)
VCRuntimeBooleanProperty^ AddBooleanProperty(
[InAttribute] String^ Name
)
function AddBooleanProperty(
Name : String
) : VCRuntimeBooleanProperty
Параметры
Name
Тип: System.StringThe name of the new Boolean property.
Возвращаемое значение
Тип: Microsoft.VisualStudio.VCProjectEngine.VCRuntimeBooleanProperty
A VCRuntimeBooleanProperty object.
Заметки
Returns the new Boolean property.
Разрешения
- Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Using Libraries from Partially Trusted Code.