IVsWebFormDesignerSupport.GetCodeDomProvider 方法

此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。

返回语言的代码域对象模型 (DOM)提供程序。

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop.8.0(在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)

语法

声明
Function GetCodeDomProvider ( _
    <OutAttribute> ByRef ppProvider As Object _
) As Integer
int GetCodeDomProvider(
    out Object ppProvider
)
int GetCodeDomProvider(
    [OutAttribute] Object^% ppProvider
)
abstract GetCodeDomProvider : 
        ppProvider:Object byref -> int
function GetCodeDomProvider(
    ppProvider : Object
) : int

参数

  • ppProvider
    类型:Object%

    [out] 返回表示代码 DOM 提供程序的对象。

返回值

类型:Int32
如果成功,则返回; S_OK否则,返回错误代码。

备注

COM 签名

从 singlefileeditor.idl:

HRESULT IVsWebFormDesignerSupport::GetCodeDomProvider(
   [out] IUnknown **ppProvider
);

.NET Framework 安全性

请参阅

参考

IVsWebFormDesignerSupport 接口

Microsoft.VisualStudio.TextManager.Interop 命名空间