Extensions.GetArtifactId Method
Namespace: Microsoft.TeamFoundation.Git.Server
Assembly: Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function GetArtifactId ( _
commit As TfsGitCommit _
) As ArtifactId
public static ArtifactId GetArtifactId(
this TfsGitCommit commit
)
[ExtensionAttribute]
public:
static ArtifactId^ GetArtifactId(
TfsGitCommit^ commit
)
static member GetArtifactId :
commit:TfsGitCommit -> ArtifactId
public static function GetArtifactId(
commit : TfsGitCommit
) : ArtifactId
Parameters
- commit
Type: Microsoft.TeamFoundation.Git.Server.TfsGitCommit
Return Value
Type: Microsoft.TeamFoundation.ArtifactId
Returns ArtifactId.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type TfsGitCommit. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.