Delen via


ProcessTemplate.GetResource Method (String)

Gets a resource with the given name from inside the process template

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Function GetResource ( _
    resourceName As String _
) As Stream
public Stream GetResource(
    string resourceName
)
public:
virtual Stream^ GetResource(
    String^ resourceName
) sealed
abstract GetResource : 
        resourceName:string -> Stream  
override GetResource : 
        resourceName:string -> Stream
public final function GetResource(
    resourceName : String
) : Stream

Parameters

  • resourceName
    Type: System.String

    The request context

    The name of the resource to retrieve

Return Value

Type: System.IO.Stream
Returns Stream.

Implements

IProcessTemplate.GetResource(String)

.NET Framework Security

See Also

Reference

ProcessTemplate Class

GetResource Overload

Microsoft.TeamFoundation.Server.Core Namespace