AssemblyBuilder.CodeBase 속성

정의

주의

Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location instead.

원래 지정된 것처럼(예: AssemblyName 개체) 어셈블리의 위치를 가져옵니다.

public:
 virtual property System::String ^ CodeBase { System::String ^ get(); };
[System.Obsolete("Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location instead.", DiagnosticId="SYSLIB0012", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public override string? CodeBase { get; }
public override string? CodeBase { get; }
public override string CodeBase { get; }
[<System.Obsolete("Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location instead.", DiagnosticId="SYSLIB0012", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.CodeBase : string
member this.CodeBase : string
Public Overrides ReadOnly Property CodeBase As String

속성 값

String

원래 지정된 어셈블리 위치입니다.

특성

예외

이 메서드는 현재 지원되지 않습니다.

호출자에게 필요한 권한이 없는 경우

설명

로드된 매니페스트 포함 파일의 절대 경로를 얻으려면 이 속성을 사용합니다 Assembly.Location .

적용 대상