获取组件的属性的当前值。
命名空间: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer
程序集: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer(在 Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.dll 中)
语法
声明
Public Overrides Function GetValue ( _
component As Object _
) As Object
public override Object GetValue(
Object component
)
public:
virtual Object^ GetValue(
Object^ component
) override
abstract GetValue :
component:Object -> Object
override GetValue :
component:Object -> Object
public override function GetValue(
component : Object
) : Object
参数
- component
类型:System.Object
组件(可以为空)
返回值
类型:System.Object
如果没有属性值,则为 null。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
PropertyExtension<TTargetElementType> 类
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer 命名空间