Share via


FontAndColorProviderBase.IVsFontAndColorDefaults.GetItemByName Method

Gets an item from the itemName parameter.

Namespace:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly:  SQLEditors (in SQLEditors.dll)

Syntax

'Declaration
Private Function GetItemByName ( _
    itemName As String, _
    info As AllColorableItemInfo() _
) As Integer Implements IVsFontAndColorDefaults.GetItemByName
'Usage
Dim instance As FontAndColorProviderBase 
Dim itemName As String 
Dim info As AllColorableItemInfo()
Dim returnValue As Integer 

returnValue = CType(instance, IVsFontAndColorDefaults).GetItemByName(itemName, _
    info)
int IVsFontAndColorDefaults.GetItemByName(
    string itemName,
    AllColorableItemInfo[] info
)
private:
virtual int GetItemByName(
    String^ itemName, 
    array<AllColorableItemInfo>^ info
) sealed = IVsFontAndColorDefaults::GetItemByName
private abstract GetItemByName : 
        itemName:string * 
        info:AllColorableItemInfo[] -> int  
private override GetItemByName : 
        itemName:string * 
        info:AllColorableItemInfo[] -> int
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • itemName
    Type: System.String
    A string value that specifies the name.
  • info
    Type: array<AllColorableItemInfo[]
    An AllColorableItemInfo array.

Return Value

Type: System.Int32
An integer value that specifies the item.

Implements

IVsFontAndColorDefaultsGetItemByName(String, AllColorableItemInfo)

See Also

Reference

FontAndColorProviderBase Class

Microsoft.SqlServer.Management.UI.VSIntegration.Editors Namespace