GraphObject.CopyProperties 方法
将给定对象的任何新属性,使现有属性值不变。
命名空间: Microsoft.VisualStudio.GraphModel
程序集: Microsoft.VisualStudio.GraphModel(在 Microsoft.VisualStudio.GraphModel.dll 中)
语法
声明
Public Function CopyProperties ( _
other As GraphObject _
) As Boolean
public bool CopyProperties(
GraphObject other
)
public:
bool CopyProperties(
GraphObject^ other
)
member CopyProperties :
other:GraphObject -> bool
public function CopyProperties(
other : GraphObject
) : boolean
参数
other
类型:Microsoft.VisualStudio.GraphModel.GraphObject的对象复制属性。
返回值
类型:Boolean
如果更改了,则为 true;此对象错误否则为。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。