EditorFactoryPackage.IVsFontAndColorDefaultsProvider.GetObject 메서드
Returns an IVsFontAndColorDefaults or an IVsFontAndColorGroupIVsFontAndColorDefaults interface for the category specified by the rguidCategory parameter.
네임스페이스: Microsoft.SqlServer.Management.UI.VSIntegration.Editors
어셈블리: SQLEditors(SQLEditors.dll)
구문
‘선언
Private Function GetObject ( _
ByRef rguidCategory As Guid, _
<OutAttribute> ByRef ppObj As Object _
) As Integer Implements IVsFontAndColorDefaultsProvider.GetObject
‘사용 방법
Dim instance As EditorFactoryPackage
Dim rguidCategory As Guid
Dim ppObj As Object
Dim returnValue As Integer
returnValue = CType(instance, IVsFontAndColorDefaultsProvider).GetObject(rguidCategory, _
ppObj)
int IVsFontAndColorDefaultsProvider.GetObject(
ref Guid rguidCategory,
out Object ppObj
)
private:
virtual int GetObject(
Guid% rguidCategory,
[OutAttribute] Object^% ppObj
) sealed = IVsFontAndColorDefaultsProvider::GetObject
private abstract GetObject :
rguidCategory:Guid byref *
ppObj:Object byref -> int
private override GetObject :
rguidCategory:Guid byref *
ppObj:Object byref -> int
JScript는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.
매개 변수
- rguidCategory
유형: System.Guid%
Specifies the GUID of the category.
- ppObj
유형: System.Object%
An IUnknown interface, which must be queried for either an IVsFontAndColorGroup or IVsFontAndColorDefaults interface.
반환 값
유형: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an Int32 error code.
구현
IVsFontAndColorDefaultsProviderGetObject(Guid, Object)
참고 항목
참조
Microsoft.SqlServer.Management.UI.VSIntegration.Editors 네임스페이스