VCProject.ReferencesConsumableByDesigners 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取设计者可在活动解决方案配置中使用的索引的集合。
public:
property System::Object ^ ReferencesConsumableByDesigners { System::Object ^ get(); };
public:
property Platform::Object ^ ReferencesConsumableByDesigners { Platform::Object ^ get(); };
[System.Runtime.InteropServices.DispId(849)]
public object ReferencesConsumableByDesigners { [System.Runtime.InteropServices.DispId(849)] [System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)] get; }
[<System.Runtime.InteropServices.DispId(849)>]
[<get: System.Runtime.InteropServices.DispId(849)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)>]
member this.ReferencesConsumableByDesigners : obj
Public ReadOnly Property ReferencesConsumableByDesigners As Object
属性值
一个表示引用集合的对象。
- 属性
示例
有关如何编译和运行此示例的信息,请参阅 如何:编译项目模型扩展性的示例代码 。
' Add a reference to Microsoft.VisualStudio.VCProjectEngine and have a
' Visual C++ project loaded before running this example.
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine
Public Module Module1
Sub Test()
Dim sln As Solution
Dim prj As VCProject
prj = DTE.Solution.Item(1).Object
MsgBox("Consumable refs: " & _
prj.ReferencesConsumableByDesigners.ToString)
End Sub
End Module