Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a visual element given its fully-qualified type name.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function CreateUIElement ( _
elementFQN As String, _
codeBase As String, _
<OutAttribute> ByRef ppUIElement As IVsUIElement _
) As Integer
int CreateUIElement(
string elementFQN,
string codeBase,
out IVsUIElement ppUIElement
)
int CreateUIElement(
[InAttribute] String^ elementFQN,
[InAttribute] String^ codeBase,
[OutAttribute] IVsUIElement^% ppUIElement
)
abstract CreateUIElement :
elementFQN:string *
codeBase:string *
ppUIElement:IVsUIElement byref -> int
function CreateUIElement(
elementFQN : String,
codeBase : String,
ppUIElement : IVsUIElement
) : int
Parameters
elementFQN
Type: System.String[in] The element’s fully-qualified name.
codeBase
Type: System.String[in] If the element's assembly is in the global assembly cache (GAC) or on the probing path, the code base does not need to be specified.
ppUIElement
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIElement%[out] The visual element object.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.