Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Sub AddProperty ( _
propertyName As String, _
propertyValue As Object _
)
'使用
Dim instance As SerializationMessage
Dim propertyName As String
Dim propertyValue As Object
instance.AddProperty(propertyName, propertyValue)
public void AddProperty(
string propertyName,
Object propertyValue
)
public:
void AddProperty(
String^ propertyName,
Object^ propertyValue
)
public function AddProperty(
propertyName : String,
propertyValue : Object
)
Parameters
- propertyName
Type: System.String
- propertyValue
Type: System.Object
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.