Sets the user-defined MSBuild property name to the property value.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Sub SetProjectProperty ( _
propertyName As String, _
propertyValue As String _
)
'使用
Dim instance As ProjectNode
Dim propertyName As String
Dim propertyValue As String
instance.SetProjectProperty(propertyName, _
propertyValue)
public virtual void SetProjectProperty(
string propertyName,
string propertyValue
)
public:
virtual void SetProjectProperty(
String^ propertyName,
String^ propertyValue
)
public function SetProjectProperty(
propertyName : String,
propertyValue : String
)
Parameters
propertyName
Type: System.StringThe name of the property.
propertyValue
Type: System.StringThe name of the property value.
Permissions
- 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.