VCCodeProperty.Getter 属性
获取或设置一个对象,该对象定义返回属性的代码。
命名空间: Microsoft.VisualStudio.VCCodeModel
程序集: Microsoft.VisualStudio.VCCodeModel(在 Microsoft.VisualStudio.VCCodeModel.dll 中)
语法
声明
Property Getter As CodeFunction
CodeFunction Getter { get; set; }
property CodeFunction^ Getter {
CodeFunction^ get ();
void set (CodeFunction^ value);
}
abstract Getter : CodeFunction with get, set
function get Getter () : CodeFunction
function set Getter (value : CodeFunction)
属性值
类型:EnvDTE.CodeFunction
一个 CodeFunction 对象。
备注
Getter 返回作为此属性的 getter 的代码函数(如果有的话)。
备注
此属性对于 Visual Basic 源代码中的代码元素是只读的。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.VisualStudio.VCCodeModel 命名空间