다음을 통해 공유


SharePointProjectItemIconAttribute 클래스

정의

사용자 지정 프로젝트 항목에 대해 솔루션 탐색기에서 표시할 아이콘을 지정합니다.

public ref class SharePointProjectItemIconAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
[System.ComponentModel.Composition.MetadataAttribute]
public sealed class SharePointProjectItemIconAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type SharePointProjectItemIconAttribute = class
    inherit Attribute
Public NotInheritable Class SharePointProjectItemIconAttribute
Inherits Attribute
상속
SharePointProjectItemIconAttribute
특성

설명

이 특성을 인터페이스의 구현에 ISharePointProjectItemTypeProvider 적용하여 프로젝트 항목 형식에 대해 표시할 아이콘을 지정합니다. 자세한 내용은 방법: SharePoint 프로젝트 항목 유형 정의를 참조하세요.

아이콘에 포함된 24비트 .bmp 또는 .ico 리소스를 사용하고, 자홍색(255,0,255)을 투명한 색으로 사용합니다. 아이콘의 권장 크기는 너비 16픽셀, 높이 16픽셀입니다.

생성자

SharePointProjectItemIconAttribute(String)

SharePointProjectItemIconAttribute 클래스의 새 인스턴스를 초기화합니다.

속성

IconResourceName

사용자 지정 프로젝트 항목 형식의 아이콘으로 사용하기 위해 포함된 .ico 또는 .bmp 리소스의 네임 스페이스 정규화된 이름을 거져오거나 설정합니다.

적용 대상