TeamFoundationFileService.TryGetFileId Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function TryGetFileId ( _
requestContext As TeamFoundationRequestContext, _
ownerId As OwnerId, _
fileName As String, _
<OutAttribute> ByRef fileId As Integer _
) As Boolean
public bool TryGetFileId(
TeamFoundationRequestContext requestContext,
OwnerId ownerId,
string fileName,
out int fileId
)
public:
bool TryGetFileId(
TeamFoundationRequestContext^ requestContext,
OwnerId ownerId,
String^ fileName,
[OutAttribute] int% fileId
)
member TryGetFileId :
requestContext:TeamFoundationRequestContext *
ownerId:OwnerId *
fileName:string *
fileId:int byref -> bool
public function TryGetFileId(
requestContext : TeamFoundationRequestContext,
ownerId : OwnerId,
fileName : String,
fileId : int
) : boolean
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- ownerId
Type: Microsoft.TeamFoundation.Framework.Server.OwnerId
- fileName
Type: System.String
- fileId
Type: System.Int32%
Return Value
Type: System.Boolean
.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.