DocumentFilter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes an applicability condition based on the type or path of a document.
public sealed class DocumentFilter : IEquatable<Microsoft.VisualStudio.Extensibility.DocumentFilter>
type DocumentFilter = class
interface IEquatable<DocumentFilter>
Public NotInheritable Class DocumentFilter
Implements IEquatable(Of DocumentFilter)
- Inheritance
-
DocumentFilter
- Implements
Constructors
DocumentFilter() |
Properties
DocumentType |
Gets the document type of an object. Document type is frequently used to target specific languages. |
Pattern |
Gets the glob pattern to match document file path. Glob patterns can have the following syntax:
|
RelativePath |
Gets a value indicating whether the pattern should be applied to the absolute path of a file or to a path relative to the solution folder. |
Methods
Equals(DocumentFilter) | Indicates whether the current object is equal to another object of the same type. |
Equals(Object) | Determines whether the specified object is equal to the current object. |
FromDocumentType(DocumentType) |
Creates a DocumentFilter from a document type. |
FromDocumentType(DocumentTypeConfiguration) |
Creates a DocumentFilter from a document type. |
FromGlobPattern(String, Boolean) |
Creates a DocumentFilter from a glob pattern matching the document file path. |
GetHashCode() | Serves as the default hash function. |