CodeParameter2.ParameterKind 属性
获取或设置一个值,该值指示参数应具有值还是应具有引用行为
命名空间: EnvDTE80
程序集: EnvDTE80(在 EnvDTE80.dll 中)
语法
声明
Property ParameterKind As vsCMParameterKind
Get
Set
vsCMParameterKind ParameterKind { get; set; }
property vsCMParameterKind ParameterKind {
vsCMParameterKind get ();
void set (vsCMParameterKind value);
}
abstract ParameterKind : vsCMParameterKind with get, set
function get ParameterKind () : vsCMParameterKind
function set ParameterKind (value : vsCMParameterKind)
属性值
类型:EnvDTE80.vsCMParameterKind
一个 vsCMParameterKind 枚举。
备注
提示
在进行某些类型的编辑之后,代码模型元素(如类、结构、函数、特性、委托等)的值可能是非确定性的,这意味着不能指望它们的值总是保持不变。 有关更多信息,请参见 使用代码模型查找代码 (Visual Basic) 中的“代码模型元素的值可能会更改”一节。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。