CodeChecksumPragma Class

 

Represents a code checksum pragma code entity.

Namespace:   System.CodeDom
Assembly:  System (in System.dll)

System.Object
  System.CodeDom.CodeObject
    System.CodeDom.CodeDirective
      System.CodeDom.CodeChecksumPragma

[<SerializableAttribute>]
[<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)>]
[<ComVisibleAttribute(true)>]
type CodeChecksumPragma = 
    class
        inherit CodeDirective
    end

NameDescription
System_CAPS_pubmethodCodeChecksumPragma()

Initializes a new instance of the CodeChecksumPragma class.

System_CAPS_pubmethodCodeChecksumPragma(String, Guid, Byte[])

Initializes a new instance of the CodeChecksumPragma class using a file name, a GUID representing the checksum algorithm, and a byte stream representing the checksum data.

NameDescription
System_CAPS_pubpropertyChecksumAlgorithmId

Gets or sets a GUID that identifies the checksum algorithm to use.

System_CAPS_pubpropertyChecksumData

Gets or sets the value of the data for the checksum calculation.

System_CAPS_pubpropertyFileName

Gets or sets the path to the checksum file.

System_CAPS_pubpropertyUserData

Gets the user-definable data for the current object.(Inherited from CodeObject.)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The CodeChecksumPragma class inherits from CodeDirective and can be contained in a CodeDirectiveCollection. CodeChecksumPragma provides the unique identification of source files, including files that have been generated.

The following code example shows the use of the CodeChecksumPragma class.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0

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

Return to top
Show: