ColorableItem.GetDefaultColors(COLORINDEX[], COLORINDEX[]) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
사용자 지정 ColorableItem 개체의 기본 배경색과 전경색을 정의합니다.
public:
virtual int GetDefaultColors(cli::array <Microsoft::VisualStudio::TextManager::Interop::COLORINDEX> ^ piForeground, cli::array <Microsoft::VisualStudio::TextManager::Interop::COLORINDEX> ^ piBackground);
public int GetDefaultColors (Microsoft.VisualStudio.TextManager.Interop.COLORINDEX[] piForeground, Microsoft.VisualStudio.TextManager.Interop.COLORINDEX[] piBackground);
abstract member GetDefaultColors : Microsoft.VisualStudio.TextManager.Interop.COLORINDEX[] * Microsoft.VisualStudio.TextManager.Interop.COLORINDEX[] -> int
override this.GetDefaultColors : Microsoft.VisualStudio.TextManager.Interop.COLORINDEX[] * Microsoft.VisualStudio.TextManager.Interop.COLORINDEX[] -> int
Public Function GetDefaultColors (piForeground As COLORINDEX(), piBackground As COLORINDEX()) As Integer
매개 변수
- piForeground
- COLORINDEX[]
COLORINDEX전경색을 반환하는 [] 배열입니다.
- piBackground
- COLORINDEX[]
COLORINDEX배경색을 반환하는 [] 배열입니다.
반환
정의된 결과를 지정하는 정수 값입니다. 메서드가 성공하면 S_OK가 반환되고, 실패하면 해당 예외가 발생합니다.