Dela via


SourceFragment Members

Include Protected Members
Include Inherited Members

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Represents a fragment of a source document.

The SourceFragment type exposes the following members.

Constructors

 

Name

Description

Public method

SourceFragment

Initializes a new instance of the SourceFragment class.

Top

Methods

 

Name

Description

Public method

Equals

Determines whether the specified object is equal to this SourceFragment. (Overrides ValueType.Equals(Object).)

Protected method

Finalize

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

Public method

GetHashCode

Returns the hash code for this instance. (Overrides ValueType.GetHashCode().)

Public method

GetType

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

Protected method

MemberwiseClone

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

Public method

ToString

Returns a string representation of a source fragment. (Overrides ValueType.ToString().)

Top

Operators

 

Name

Description

Public operatorStatic member

Equality

Compares two source fragments.

Public operatorStatic member

Inequality

Compares two source fragments.

Top

Properties

 

Name

Description

Public property

Length

Gets the length of the source fragment.

Public property

Location

Gets the offset in the file of the source fragment.

Top

See Also

Reference

SourceFragment Structure

Microsoft.Windows.Design.SourceUpdate Namespace