Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds the specified property.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Shared Sub AddProperty ( _
propertyGroup As ProjectPropertyGroupElement, _
propertyName As String, _
propertyValue As Object _
)
protected static void AddProperty(
ProjectPropertyGroupElement propertyGroup,
string propertyName,
Object propertyValue
)
protected:
static void AddProperty(
ProjectPropertyGroupElement^ propertyGroup,
String^ propertyName,
Object^ propertyValue
)
static member AddProperty :
propertyGroup:ProjectPropertyGroupElement *
propertyName:string *
propertyValue:Object -> unit
protected static function AddProperty(
propertyGroup : ProjectPropertyGroupElement,
propertyName : String,
propertyValue : Object
)
Parameters
- propertyGroup
Type: Microsoft.Build.Construction.ProjectPropertyGroupElement
The group to which the property belongs
- propertyName
Type: System.String
The name of the property being added
- propertyValue
Type: System.Object
The value of the property being added
Remarks
If propertyValue is null, the property will not be added.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.