Control.AppRelativeTemplateSourceDirectory Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control.
public:
property System::String ^ AppRelativeTemplateSourceDirectory { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Browsable(false)]
public string AppRelativeTemplateSourceDirectory { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.AppRelativeTemplateSourceDirectory : string with get, set
Public Property AppRelativeTemplateSourceDirectory As String
The application-relative virtual directory of the page or user control that contains this control.
- Attributes
The AppRelativeTemplateSourceDirectory property contains the application-relative path to the page or user control that contains the current control. For example, if the Web page resides at http://www.contoso.com/application/subdirectory
, the AppRelativeTemplateSourceDirectory property returns "~/subdirectory".
To return the virtual path ("application/subdirectory"), use the TemplateSourceDirectory property.
Produit | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :