XMessage.SetContextProperty 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SetContextProperty(PropertyBase, Object) | |
SetContextProperty(XmlQName, Object) | |
SetContextProperty(Type, Object) |
SetContextProperty(PropertyBase, Object)
public:
void SetContextProperty(Microsoft::XLANGs::BaseTypes::PropertyBase ^ propBase, System::Object ^ val);
public void SetContextProperty (Microsoft.XLANGs.BaseTypes.PropertyBase propBase, object val);
member this.SetContextProperty : Microsoft.XLANGs.BaseTypes.PropertyBase * obj -> unit
Public Sub SetContextProperty (propBase As PropertyBase, val As Object)
參數
- propBase
- PropertyBase
- val
- Object
適用於
SetContextProperty(XmlQName, Object)
public:
void SetContextProperty(Microsoft::XLANGs::BaseTypes::XmlQName ^ propQName, System::Object ^ val);
public void SetContextProperty (Microsoft.XLANGs.BaseTypes.XmlQName propQName, object val);
member this.SetContextProperty : Microsoft.XLANGs.BaseTypes.XmlQName * obj -> unit
Public Sub SetContextProperty (propQName As XmlQName, val As Object)
參數
- propQName
- XmlQName
- val
- Object