Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal siteUrl As String, _ ByVal path As String, _ ByVal contentTypeName As String, _ ByVal browserEnable As Boolean, _ ByVal credentials As CredentialCache _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim siteUrl As String Dim path As String Dim contentTypeName As String Dim browserEnable As Boolean Dim credentials As CredentialCache Dim instance As New SPContentTypeLocation(siteUrl, path, contentTypeName, browserEnable, credentials) |
C# | |
---|---|
public SPContentTypeLocation( string siteUrl, string path, string contentTypeName, bool browserEnable, CredentialCache credentials ) |
C++/CLI | |
---|---|
public: SPContentTypeLocation( String^ siteUrl, String^ path, String^ contentTypeName, bool browserEnable, CredentialCache^ credentials ) |
Parameters
- siteUrl
- path
- The full file URL. The form template is published with to this path.
- contentTypeName
- The name of the content type.
- browserEnable
- credentials
- The credential cache containing credentials to connect to the web server.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2