Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Represents a single item in a Visual Studio database build project.
Inheritance Hierarchy
System.Object
Microsoft.Data.Schema.Build.DatabaseTaskItem
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Class DatabaseTaskItem _
Implements ITaskItem
public class DatabaseTaskItem : ITaskItem
public ref class DatabaseTaskItem : ITaskItem
type DatabaseTaskItem =
class
interface ITaskItem
end
public class DatabaseTaskItem implements ITaskItem
The DatabaseTaskItem type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
DatabaseTaskItem(String) | Initializes a new instance of the DatabaseTaskItem class by using the provided path. |
![]() |
DatabaseTaskItem(ProjectItem, String) | Initializes a new instance of the DatabaseTaskItem class by using the provided project item and path. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
ItemSpec | Gets the relative path to this item. |
![]() |
MetadataCount | Gets the number of metadata settings. |
![]() |
MetadataNames | Gets a collection of names in the metadata. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
CloneCustomMetadata | Returns a cloned copy of the metadata names. |
![]() |
CopyMetadataTo | Copies the metadata to another item. |
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetMetadata | Returns the value of the provided metadata. |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
RemoveMetadata | Removes the specified metadata. |
![]() |
SetMetadata | Sets the value of the named metadata. |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
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.