DeploymentProjectBuilder.AddProperty Method
Adds a property, as specified.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Shared Sub AddProperty ( _
propertyGroup As BuildPropertyGroup, _
propertyName As String, _
propertyValue As Object _
)
'Usage
Dim propertyGroup As BuildPropertyGroup
Dim propertyName As String
Dim propertyValue As Object
DeploymentProjectBuilder.AddProperty(propertyGroup, _
propertyName, propertyValue)
protected static void AddProperty(
BuildPropertyGroup propertyGroup,
string propertyName,
Object propertyValue
)
protected:
static void AddProperty(
BuildPropertyGroup^ propertyGroup,
String^ propertyName,
Object^ propertyValue
)
protected static function AddProperty(
propertyGroup : BuildPropertyGroup,
propertyName : String,
propertyValue : Object
)
static member AddProperty :
propertyGroup:BuildPropertyGroup *
propertyName:string *
propertyValue:Object -> unit
Parameters
- propertyGroup
Type: Microsoft.Build.BuildEngine.BuildPropertyGroup
The build property group
- propertyName
Type: System.String
The property name
- propertyValue
Type: System.Object
The property value
.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.
See Also
Reference
DeploymentProjectBuilder Class