共用方式為


ITypeInfo.GetNames Method

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'宣告
Sub GetNames ( _
    memid As Integer, _
    <OutAttribute> rgBstrNames As String(), _
    cMaxNames As UInteger, _
    <OutAttribute> ByRef pcNames As UInteger _
)
'用途
Dim instance As ITypeInfo
Dim memid As Integer
Dim rgBstrNames As String()
Dim cMaxNames As UInteger
Dim pcNames As UInteger

instance.GetNames(memid, rgBstrNames, _
    cMaxNames, pcNames)
void GetNames(
    int memid,
    string[] rgBstrNames,
    uint cMaxNames,
    out uint pcNames
)
void GetNames(
    [InAttribute] int memid, 
    [OutAttribute] array<String^>^ rgBstrNames, 
    [InAttribute] unsigned int cMaxNames, 
    [OutAttribute] unsigned int% pcNames
)
abstract GetNames : 
        memid:int * 
        rgBstrNames:string[] byref * 
        cMaxNames:uint32 * 
        pcNames:uint32 byref -> unit 
function GetNames(
    memid : int, 
    rgBstrNames : String[], 
    cMaxNames : uint, 
    pcNames : uint
)

Parameters

.NET Framework Security

See Also

Reference

ITypeInfo Interface

ITypeInfo Members

Microsoft.VisualStudio.OLE.Interop Namespace