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 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.