System.AppUserModel.PreventPinning

작업 표시줄 또는 시작 메뉴에 고정할 바로 가기 또는 창의 기능을 사용하지 않도록 설정합니다. 또한 이 속성을 사용하면 시작 메뉴의 MFU(가장 자주 사용되는) 목록에 항목을 포함할 수 없습니다.

이 속성은 PKEY_AppUserModel_ID 속성 앞에 창에서 설정해야 합니다. PKEY_AppUserModel_ID 속성이 설정되면 PKEY_AppUserModel_PreventPinning 변경 내용은 무시됩니다.

애플리케이션 사용자 모델 ID(AppUserModelIDs) 및 항목을 작업 표시줄에 고정하지 않고 MFU 포함에서 제외하는 다른 방법에 대한 자세한 내용은 애플리케이션 사용자 모델 ID(AppUserModelIDs)를 참조하세요.

창에서 이 속성을 설정하려면 SHGetPropertyStoreForWindow 를 사용하여 창의 속성 저장소를 검색하고 검색된 IPropertyStore 개체의 메서드를 사용하여 해당 창의 System.AppUserModel.PreventPinning 속성을 설정합니다.

이 속성을 설정하면 다음 속성이 무시됩니다.

Windows 10, 버전 1703, Windows 10, 버전 1607, Windows 10, 버전 1511, Windows 10, 버전 1507, Windows 8.1, Windows 8, Windows 7

propertyDescription
   name = System.AppUserModel.PreventPinning
   shellPKey = PKEY_AppUserModel_PreventPinning
   formatID = 9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3
   propID = 9
   SearchInfo
      InInvertedIndex = false
      IsColumn = false
   typeInfo
      type = Boolean
      IsInnate = false

설명

PKEY 값은 Propkey.h에 정의되어 있습니다.

애플리케이션 사용자 모델 ID(AppUserModelID)

System.AppUserModel.ID

SHGetPropertyStoreForWindow

propertyDescriptionList

propertyDescription

searchInfo

labelInfo

typeInfo

displayInfo

aliasInfo

stringFormat

booleanFormat

numberFormat

dateTimeFormat

enumeratedList

enum

enumRange

image

drawControl

editControl

filterControl

queryControl

relatedPropertyInfo

relatedProperty