System.GAC.AssemblyCache.CreateAssemblyCache C# (CSharp) Method

CreateAssemblyCache() public static method

Use this method as a start for the GAC API
public static CreateAssemblyCache ( ) : IAssemblyCache
return IAssemblyCache
        public static IAssemblyCache CreateAssemblyCache()
        {
            IAssemblyCache ac;

            AssemblyCache.CreateAssemblyCache(out ac, 0);

            return ac;
        }

Same methods

AssemblyCache::CreateAssemblyCache ( IAssemblyCache &ppAsmCache, uint dwReserved ) : void

Usage Example

示例#1
0
        /// <summary>
        /// Use this method as a start for the GAC API
        /// </summary>
        /// <returns>IAssemblyCache COM interface</returns>
        public static IAssemblyCache CreateAssemblyCache()
        {
            IAssemblyCache ac;

            AssemblyCache.CreateAssemblyCache(out ac, 0);

            return(ac);
        }