다음을 통해 공유


IContentTypeRegistryService.GetContentType 메서드

가져옵니다는 IContentType 개체를 지정 된 형식 이름입니다.

네임스페이스:  Microsoft.VisualStudio.Utilities
어셈블리:  Microsoft.VisualStudio.CoreUtility(Microsoft.VisualStudio.CoreUtility.dll)

구문

‘선언
Function GetContentType ( _
    typeName As String _
) As IContentType
IContentType GetContentType(
    string typeName
)
IContentType^ GetContentType(
    String^ typeName
)
abstract GetContentType : 
        typeName:string -> IContentType
function GetContentType(
    typeName : String
) : IContentType

매개 변수

  • typeName
    형식: String

    콘텐츠 형식의 이름입니다. 이름을 비교할 때는 대/소문자 구분 됩니다.

반환 값

형식: Microsoft.VisualStudio.Utilities.IContentType
콘텐츠 형식 또는 nullNull 참조(Visual Basic의 경우 Nothing) 콘텐츠 형식이 있는 경우.

.NET Framework 보안

참고 항목

참조

IContentTypeRegistryService 인터페이스

Microsoft.VisualStudio.Utilities 네임스페이스