다음을 통해 공유


CookieTraits<T> Class

This class defines the default type, range for cookies handed out by CCookieTable.

This API is not CLS-compliant. 

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

‘선언
<CLSCompliantAttribute(False)> _
Public MustInherit Class CookieTraits(Of T As {Object, IComparable(Of T)})
‘사용 방법
Dim instance As CookieTraits(Of T)
[CLSCompliantAttribute(false)]
public abstract class CookieTraits<T>
where T : Object, IComparable<T>
[CLSCompliantAttribute(false)]
generic<typename T>
where T : Object, IComparable<T>
public ref class CookieTraits abstract
[<AbstractClassAttribute>]
[<CLSCompliantAttribute(false)>]
type CookieTraits<'T when 'T : Object and IComparable<'T>> =  class end
JScript does not support generic types or methods.

Type Parameters

  • T
    Cookie type

Inheritance Hierarchy

System.Object
  Microsoft.Internal.VisualStudio.PlatformUI.CookieTraits<T>
    Microsoft.Internal.VisualStudio.PlatformUI.IntCookieTraits
    Microsoft.Internal.VisualStudio.PlatformUI.UIntCookieTraits

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

CookieTraits<T> Members

Microsoft.Internal.VisualStudio.PlatformUI Namespace