Reference3.RefType 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取引用的类型:程序集、COM 或本机。
public:
property System::UInt32 RefType { System::UInt32 get(); };
public:
property unsigned int RefType { unsigned int get(); };
[System.Runtime.InteropServices.ComAliasName("VSLangProj80.PROJECTREFERENCETYPE")]
[System.Runtime.InteropServices.DispId(124)]
public uint RefType { [System.Runtime.InteropServices.DispId(124)] get; }
[<System.Runtime.InteropServices.ComAliasName("VSLangProj80.PROJECTREFERENCETYPE")>]
[<System.Runtime.InteropServices.DispId(124)>]
[<get: System.Runtime.InteropServices.DispId(124)>]
member this.RefType : uint32
Public ReadOnly Property RefType As UInteger
属性值
一个表示引用类型的 UInt32 值。
- 属性
示例
有关示例,请参见 Reference3。
注解
UInt 的值表示引用类型:
| 引用类型 | 返回的值 |
|---|---|
| Assembly | 1 |
| COM | 2 |
| 本机 | 3 |