부모글 보이기/감추기 What is the property system?; http://blogs.msdn.com/benkaras/archive/2006/08/28/729153.aspxVista 에 소개되는 새로운 기능이군요.다음 회에서는 사용예까지 보여준다고 하니 일단 대강 읽어보기만 해도 될 것 같습니다.WinFS 의 일부 기능을 지원한 듯도 보이고. AD BLOCK 해제 요청 이 글에는 광고가 많이 들어가 있지 않습니다. adblock을 해제하셔도 글을 읽는데 그다지 부담이 없으니 해제를 부탁드립니다. Property consumerism ; https://learn.microsoft.com/en-us/archive/blogs/benkaras/property-consumerism 약속대로 코드 예제를 공개했습니다. 별로 많은 내용이 아니니, 여기에 복사해 넣습니다. Reading properties is rather simple. First, bind to the item. SHCreateItemFromIDList and SHCreateItemFromParsingName are appropriate for this. Then read your properties. Be sure to clean up after yourself. IShellItem2 *psi;if (SUCCEEDED(SHCreateItemFromParsingName(L"c:\tortoise.doc", NULL, IID_IShellItem2, (void**)&psi))) { IPropertyStore *pps; if (SUCCEEDED(psi->GetPropertyStore(GPS_DEFAULT, IID_IPropertyStore, (void**)&pps))) { PROPVARIANT propvar = {0}; if (SUCCEEDED(pps->GetValue(PKEY_Title, &propvar))) { wprintf(L"Title: %s\n", PropVariantToStringWithDefault(propvar, L"")); PropVariantClear(&propvar); } pps->Release(); } psi->Release();} Not bad for reading the title of a document! And I even checked the return results. --- Constable Umer walked down the narrow flagstone path, then onto cobblestones and finally gravel stones. Turning a corner, Cons. Umer found a door with a small card pinned to next to it. "Great Flying Tortoise: Purveyor of fine, proper teas." [다음 글] Vista : 8. What is the property system?[이전 글] Vista : 8. The source of property types [최초 등록일: 10/20/2006] [최종 수정일: 4/26/2024] 비밀번호 댓글 작성자 2006-10-06 10시35분 Properties coding expedition #1 - Binding to an item ; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-1-binding-to-an-itemProperties coding expedition #2 - printing the IPropertyStore ; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-2-printing-the-ipropertystoreProperties coding expedition #3 - Printing a value ; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-3-printing-a-valueProperties coding expedition #4 - The output; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-4-the-outputProperties coding expedition #5 - Stripping characters; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-5-stripping-charactersProperties coding expedition #6 - Developer friendly output; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-6-developer-friendly-outputProperties coding expedition #7 - The final output; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-7-the-final-output kevin25 ... 31 32 33 34 35 [36] 37 38 39 40 41 42 43 44 45 ... NoWriterDateCnt.TitleFile(s) 296정성태5/27/200612267WWF 로 만든 Tetris294정성태5/21/200612322Session State Uses a Reader-Writer Lock293정성태5/21/200610958Microsoft Threat Analysis & Modeling v2.0 RC1291정성태5/18/200612265Managed Stack Explorer289정성태5/17/200612772Microsoft ASP.NET Providers - PDF 메뉴얼288정성태5/17/200613133TFS Administration Tool 1.0 Released...with Shared Source!287정성태5/17/200612197An Introduction to 64-bit Installers with Visual Studio 2005: Part 1283정성태5/15/200612769Windows Workflow Foundation: Running Service Activated Workflows on Windows Vista and IIS7284정성태5/15/200612973 Windows Workflow Foundation: Exposing Workflows as Services [1]281정성태5/12/200611528Microsoft Compute Cluster Pack SDK280정성태5/11/200615707C# 3.0 : One-Step Object Creation and Initialization 279정성태5/11/200613632Vista에서 제거되는 DHTML Editing Control278정성태5/11/200611910LINQ CTP - May 2006286정성태5/16/200611400 Using LINQ with ASP.NET (Part 1) 277정성태5/9/200611492Web Application Projects - 정식 릴리스276정성태5/8/200611804SNK 파일 공유하기1275정성태5/8/200611521Building Security Awareness in .NET Assemblies274정성태5/7/200611427QuickSYS2273정성태5/7/200611722Developing Firewalls for Windows 2000/XP1272정성태5/6/200613646Windows PowerShell [3]292정성태5/19/200611812 Windows PowerShell - PowerShell Script to Create a WorkItem271정성태5/6/200612036MSBee282정성태5/15/200611808 MSBee will be on CodePlex290정성태5/18/200612265 MSBuild Extras - Toolkit for .NET 1.1 "MSBee" 270정성태5/4/200612057ISO Recorder269정성태5/4/200611955Visual Studio 2005 Team System Level 200 Course Material ... 31 32 33 34 35 [36] 37 38 39 40 41 42 43 44 45 ...